WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Default Page Order - Nav Menu (3 posts)

  1. 7bladePHOTOGS
    Member
    Posted 3 years ago #

    The default nav menu order is Page_ID and I need to move the page order around. Using "Order" in Page Attributes is not changing page order in the Nav Menu. I cannot figure this out. Can someone please help me?

    I am obviously a novice at implementing WP sites. Thanks in advance!

  2. datasoftict
    Member
    Posted 3 years ago #

    Are you sure you don't have a menu set in Appearance > menus?

    Another possibility is cached pages.

  3. 7bladePHOTOGS
    Member
    Posted 3 years ago #

    Thank you for the reply Datasoftict. I was able to find the problem and fix it via my header.php file. To fix it, I found the wp_list_pages usage and the sort_column parameter...

    <ul>
    		<?php wp_list_pages('sort_column=post_date&depth=1&title_li='); ?>
      		</ul>

    I changed post_date to menu_order...

    <ul>
    		<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
      		</ul>

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Topic