• How do I display the child links for a parent page based on the custom navigation menu set in Appearance > Menu?

    I have a custom theme and a custom menu. When I click on the parent link in the menu bar (say I click on the “About” page for my site), I want a list of links to the child pages to appear underneath the page content. I can do this with pages in the page structure, but I do not know how to do it with a custom menu. Could anyone please help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Nate,

    Child pages of parent pages aren’t automatically added to custom menus. You need to add every page you want included on your menu.

    In Appearance > Menus, create your custom menu and drag the child menu pages from the list of available pages on the left into your menu. You need to indent the child menu items underneath the parent menu items.

    Thread Starter Nathan Hawkes

    (@natehawkes)

    Hi stacyduval,

    I think I may have not explained myself properly. I have got the menu sorted, but what I want to know is how do I display the child links on the appropriate parent page? I have the site live (https://www.europia.org.uk/), and there is a drop down menu across the top, created in Appearance -> Menus. I want, on the top level pages, to put their menu child links underneath my content. So all of the links in About appear on the About page, the same for Services, etc. Can that be done? Especially since some of the pages are not actually child pages of their parent.

    I’m assuming you want to put the menu items inside the post, not in the footer or sidebar or underneath your header nav menu. The best way to do this is with button code. A horizontal button row would look good underneath the content.

    You can do this using shortcodes. If you don’t have a button shortcode in your theme, you can download a shortcode plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display child links on parent page’ is closed to new replies.