WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Child pages break Parent in Top Navigation (3 posts)

  1. virushead
    Member
    Posted 7 years ago #

    I'm using the "Remember" theme. It adds parent pages to the top navigation. Everything was fine until I added a couple of child pages to one of the parent pages. Now the parent page link has disappeared off the top navigation.

    The child page titles do appear in the sidebar. I don't mind it if the child pages don't display on the top navigation, but I'd like the parent page title ("On JWs") to reappear.

    http://www.virushead.net/vhrandom

    Any ideas?

  2. virushead
    Member
    Posted 7 years ago #

    Got it!! Changed the index code to specify depth on the menu:

    [?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?]

  3. silpstream
    Member
    Posted 7 years ago #

    VH,

    Could you mark this resolved please??? Thanks!!!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags