The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

page order field, my page order plugin not affecting pages order in sidebar (4 posts)

  1. mweier
    Posted 7 years ago #

    I've organized my pages by page order field and they show up in proper order in wp-admin. The site still shows them in alphabetical order.

    I installed "my page order" plugin which confirms they're ordered right but it's not affecting pages order in sidebar?

    What else should I be looking for? I'm using the default template in 2.7.


  2. mweier
    Posted 7 years ago #

    I found this http://codex.wordpress.org/Template_Tags/wp_list_pages

    So I edited sidebar.php in the Appearance Editor -- it had
    ?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>

    which I updated to this
    ?php wp_list_pages('sort_column=menu_order&title_li=<h2>Pages</h2>' ); ?>

    However that doesn't do anything (perhaps because I'm using widgets?). Maybe i was just editing the non-widget default.

    So then I looked at the Widgets panel and clicked Edit for Pages. Voila! This cleared it up. There's dropdown option there for sort order (which was set by title not order).

    Hopefully this helps someone else.

  3. Attento
    Posted 7 years ago #

    Thank you! Yes, it helped me.....I have been trying to figure that one out for the last hour!
    Big thanks,

  4. ohioguru
    Posted 7 years ago #

    MAN that helped me big time thanks

Topic Closed

This topic has been closed to new replies.

About this Topic