| Drupal
Display an Specific Node with Views in Drupal 7

One of our users asked for a way to display a specific node inside a View. Luckily, Views for Drupal 7 has a filter criteria to achieve this requirement.

With the Node ID we can retrieve a single result. Let's start...

Step #1. Find the Node ID

Before we can display a single node, we need to find its ID number. Follow this tutorial to find the node ID.

Step #2. Edit the view

  • If you have an existing view, go to Structure > Views > Your view.
  • Click Edit.
Views in Drupal 7
  • Under Filter Criteria, click "Add".
Views in Drupal 7
  • Search for "Content: Nid" and check the box:
Views in Drupal 7
  • Click the "Apply (all displays)" button.
Views in Drupal 7
  • In the next screen select "Is equal to" and type the ID of the node you want to display:
Views in Drupal 7
  • Click the "Apply (all displays)" button
  • Save changes when you're done.
  • Scroll down to see the preview and confirm the result is accurate. 

About the author

Valentín creates beautiful designs from amongst the tequila plants of Jalisco, Mexico. You can see Valentín's design work all over this site and you can often find him helping members in support.