Forums

[resolved] Page Menu Listing Order (7 posts)

  1. spikoley
    Member
    Posted 2 years ago #

    I am using the Pages Widget to create a menu. My problem is I cannot get the links to list in the order I would like. The sort by feature the Widget has the options page title, page order and page ID. How can I sort them by my custom order or is there another method I could use to create a custom menu?

  2. Edward Caissie
    Member
    Posted 2 years ago #

    If you go into your Dashboard and edit your pages by setting each page's Order number to the equivalent of where you want it to be in your menu sequence; then, set your page widget to sort your pages by "Page Order" it should work.

    The other option is to change the wp_list_pages parameters being called in your sidebar.

    Here is a link to more details: http://codex.wordpress.org/Template_Tags/wp_list_pages

    Hope that gets you pointed in the right direction ...

  3. Shane G
    Member
    Posted 2 years ago #

  4. manicolaus
    Member
    Posted 2 years ago #

    I'm having the same problem. No matter what I do, the pages on the menu don't show up in the same order as in the admin interface.
    I'm running WP 2.8.3.
    I've downloaded the page menu editor plugin, and it does a good job of rearranging the pages order in the Pages display in the admin interface, but it has absolutely no effect on the page order on the sidebar menu that the user sees. I've tried several different templates with the same result.
    I've tried changing the page title, the page numerical order, burning incense and beating a tambourine, to no effect.
    I tried finding the sort_order line in practically every php file both in the theme and in the WP core and couldn't find it. I don't really feel comfortable messing with the PHP code anyway and I don't feel I should have to do that in order to get the page menu tuned. I've even gone into the MySQL db and changed the ID number of the latest revision of this story, but that didn't work either.
    Frankly I'm about to bail for Drupal, where you can do this kind of menu tuning out of the box.

  5. henkholland
    Member
    Posted 2 years ago #

    How about this plugin:
    http://wordpress.org/extend/plugins/my-page-order/
    I use an older one on WP 2.7.1. but it states to be good for 2.8.3
    Never let me down.

    And btw, I always thought the page order in Admin was by date?

  6. manicolaus
    Member
    Posted 2 years ago #

    That's the one I have installed. Does a great job rearranging items in the admin interface but changes nothing in what the user sees.

    I've changed the pub dates on the stories to get them to line up chronologically by pub date and that doesn't work either.

    I'm shutting the site and moving the content to Drupal. Life is too short.

  7. henkholland
    Member
    Posted 2 years ago #

    And you did this ofcourse?
    If you are using widgets then just make sure the "Page" widget is set to order by "Page order". That's it.
    If you aren't using widgets, modify your sidebar template to use correct sort order: wp_list_pages('sort_column=menu_order&title_li=');

    Thanks btw for making me realise that the order in Admin was also influenced by the plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.