• Resolved aharmer

    (@aharmer)


    Hi, I’ve noticed that when I have pages listed in a sub-menu in the navigation bar, each of the pages has a button to navigate to the next page. E.g. I have a “People” tab in my nav bar, with our group members each having a page selected from the drop down. Each of these pages has the button to navigate to the next person in the drop down menu. This doesn’t make a lot of sense in this case as the people in the “People” drop down are not a linear grouping.

    I want to get rid of these buttons but I can’t find where they are in the code. Would they be in the css files or one of the php files?

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter aharmer

    (@aharmer)

    Sorry folks,

    I found the appropriate section in the php file “content-page-nav.php”.

    I just commented out everything after:

    * For sub-pages, display links to previous and next sibling.

    Theme Author Tim Nicholson

    (@timnicholson)

    aharmer, the next version of the theme will remove these navigation links for normal pages. It will only display them if the parent page uses the special page template of “Page with Subpages”. That template is designed to be used for logical groupings. So you should be able to upgrade your theme when v1.6 comes out and not have to worry about duplicating your edits above.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Next Page buttons in sub-menu pages’ is closed to new replies.