# Show Subpages

{% hint style="info" %}
Live Demo: <https://candidate.codenation.com/what_i_stand_for>
{% endhint %}

<figure><img src="https://2029999482-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeL-FYaRUlvUn8HHUaD-887967055%2Fuploads%2FcTGKLN2oX1yPEhuhZqSJ%2Fimage.png?alt=media&#x26;token=7878786f-a664-418f-94c2-67817d038cdc" alt="Candidate Themes Show Subpages Example"><figcaption><p>Candidate Themes Show Subpages Example</p></figcaption></figure>

## Showing the Current Pages Subpages

{% hint style="info" %}
The "Show Subpages" feature displays subpages in order of published date, from newest to oldest. To change their order, update the published date in NationBuilder's backend for that page.
{% endhint %}

1. If subpages are not already configured for a specific page, take a moment to create some.
2. On the parent page to the subpages set up in step 1 add the tag `Admin Show Subpages`.
3. To edit each subpages card, simply hover over it and click the 'Edit Subpage' button or navigate to the subpage in NationBuilders back-end.
   * By default, the ***thumbnail*** image is drawn from the social media share icon of the blog post. If no image is added, a default picture with your logo will be used. You can update the cards thumbnail by navigating to **Your Page > Settings > Social Media**. &#x20;
   * The ***title*** of the subpage card is directly drawn from the headline of the page in NationBuilder.&#x20;
   * The ***content*** of the subpage card is directly drawn from the first 32 words of the page's content in NationBuilder.

## Showing the Subpages of Another Page

{% hint style="info" %}
Live Example: <https://candidate.codenation.com/>
{% endhint %}

<figure><img src="https://2029999482-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LeL-FYaRUlvUn8HHUaD-887967055%2Fuploads%2FCfb1UvBJpXZw718Nfn4Q%2Fimage.png?alt=media&#x26;token=9e603d2c-173f-43ea-9589-b8c7cb6ab71e" alt="Showing the Subpages of Another Page"><figcaption><p>Showing the Subpages of Another Page</p></figcaption></figure>

1. You can show the custom subpage panel by adding the tag  `Admin Show Subpages Panel:[PAGE_SLUG]`.
   * Where `[PAGE_SLUG]` is the slug of the page with the subpages you would like to display.
2. You can follow the steps in [#showing-the-current-pages-subpages](#showing-the-current-pages-subpages "mention")to set up the subpages and learn how to customise each subpage card.
