WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] help with nav link sorting.. (2 posts)

  1. Mr E
    Member
    Posted 4 years ago #

    I'm learning php and wp at the same time so may have missed something.

    I want my nav at the top to sort by the edit->page - sort order setting.

    I started with:
    <?php wp_list_pages('title_li=&depth=-1&sort_column=ID'); ?>

    and changed it to:
    <?php wp_list_pages('title_li=&depth=-1&sort_column=menu_order'); ?>

    but its still not sorting by the way I note the pages on my site.

    Thanks in advance :)

  2. Mr E
    Member
    Posted 4 years ago #

    oops LoL

    Forget this - found that I had a typo in the editor.

    Moderators please drop this thread.

    Sry all :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.