Code Nation
Candidate (English)
Candidate (English)
  • Your Code Nation Theme
  • Getting started
    • Creating a new site
    • Activating your new theme
    • Editing your theme
  • Launching 🚀
    • Connect a Broadcaster
    • Connect your social media icons
    • Connect Google Analytics
    • SEO and sharing
    • Add a favicon
    • Add a logo
    • Add a featured image
    • Add footer text
    • Order your navbar
    • Configure your page and site settings
  • General Features
    • Control Panel Shortcuts
    • Creating new pages
    • Tags
    • Donation Express Payments
  • Candidate Theme Features
    • Background Video Section
    • Background Quote Section
    • Collapsed Accordions
    • Covering donation fees
    • Custom Field Inputs
    • Donation Panel
    • Embedding External Tools/Plugins
    • Events Map
    • Featured Blog Post
    • Feature Video
    • Image Gallery
    • Latest News Section
    • Nav Buttons
    • PDF Gallery (Resources page)
    • Event Program Layout
    • Share Bar
    • Show Subpages
    • Show Profile Page
    • Signup Bar
    • SMS Tool
    • Two Column Content
    • Video Gallery
    • Tag Appendix
  • Tips
    • Image sizes and dimensions
  • Feedback
    • Candidate Docs Feedback Form
Powered by GitBook
On this page
  • Showing the Current Pages Subpages
  • Showing the Subpages of Another Page

Was this helpful?

  1. Candidate Theme Features

Show Subpages

Arrange and display a collection of related information, such as articles, categories, products, or services, in a structured and user-friendly manner using the "Show Subpages" feature.

PreviousShare BarNextShow Profile Page

Last updated 1 year ago

Was this helpful?

Live Demo:

Showing the Current Pages Subpages

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.

  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.

    • The title of the subpage card is directly drawn from the headline of the page in NationBuilder.

    • 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

  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 Subpagesto set up the subpages and learn how to customise each subpage card.

Live Example:

https://candidate.codenation.com/
https://candidate.codenation.com/what_i_stand_for
Candidate Themes Show Subpages Example
Showing the Subpages of Another Page
Candidate Themes Show Subpages Example
Showing the Subpages of Another Page