Support » Plugins » My Page Order Plugin Doesn’t Work!

Viewing 15 replies - 1 through 15 (of 18 total)
  • You should not have to modify any of your php files……once you install this in the plugin directory and activate it, just go to Manage and there is a sub option (My Page Order)…..just use your mouse to ‘grab; and drag the pages into the order that you want them to be, then click on “click to order pages”…… that’s all there is to it. If you have subpages, use the button that says “order subpages” and choose the parent page from the dropdown box.


    I had the same problem, I added the plug-in, activated it, went to use it by going to the settings option of WP 2.5 and there was nothing there to manage the ordering of pages. This is what I did to get it working(since there were multiple things done, I can’t tell you which one resolved the problem): I went back in to plug-ins, deactivated the page_order plugin, logged out of my site, logged back in, reactivated the page_order plug-in, navigated to the Manage section of WP and there as one of my choices was the MyPageOrder item. Remember this plug-in, like TrishaM said, is in the Manage section vs. the Settings section. I hope you already fixed it or that the additional information will help you fix it. The ability to manage page order should be built in to WP (in my humble opinion) but in the mean time this plug-in works great!


    WP 2.5 has added a very rudimentary way of managing the page order – if you are in the Write/Edit Page screen, scroll all the way down to the bottom and expand the section labeled “page order”……there is a box where you enter a number to designate the order of the pages, however, it still puts the “Home” page first, and if you have a large number of pages and want to “insert” one you’ll need to renumber all your pages to have total control – otherwise it reverts back to alpha-sorting if multiple pages have the same number.

    So while it’s better than nothing, it’s not quite as good as the My Page Order plugin. Rumors are that this feature will be refined in future versions, so I’m hopeful that soon it will be a really great feature negating the need for a plugin.

    I should clarify, just to avoid any confusion – WP 2.5 will not re-sort ALL your pages alphabetically if you have multiple pages with the same page-order-number, it will just use alpha sort as a secondary sort mechanism for just those pages that have the same number. If you want to specify the exact order of pages, regardless of the page titles (with the exception of ‘Home’ which will always be first), then be sure all of your pages have a unique number, in the order that you want them.

    I recommend that you always leave your Home page listed first, because most internet users are accustomed to, and most comfortable with, this navigation structure, however, if for some reason you really want your ‘Home’ page to appear elsewhere in your navigation, you’ll need to modify your theme files (wherever your page navigation element appears) to either list your Home page last (after wp_list_page(); instead of before it) or remove it entirely and make a new template file (call it something like homepage.php) then create a New Page and use that new template file, being sure to give this new Page a page order number that is where you want it to be in your list of pages.

    TrishaM is correct that they’re going to make some changes to page ordering in a future release. This patch ticket is scheduled to be included in 2.6 which adds drag and drop ordering to the list of pages itself.

    My plugin does not work. I have successfully installed the My Page Order plugin and activated it. I have used the drag and drop window to order all of my pages. In the ‘my page order’ admin all the pages are in the correct order, but on my blog they remain unchanged and appear alphabetically. The old WordPress page order function in the widget section worked beautifully and I am at a loss to understand why it is no longer used. No plugin was required. The present page order function (which is described as “a bit janky” by the WordPress team) does not do anything.

    You need to modify your theme or change the widget settings. Alphabetical is the default ordering method.

    this plugin worked great for me without any problems, thanks

    Initially this plugin didn’t work for me either but I worked out why and have been able to fix it. Please bear in mind that if the plugin isn’t working for you it is not the fault of the author of the plugin, but the author of the theme that you are using. The theme I was using (Primepress, specifically header.php) implements its own way of getting a list of pages by talking to the database directly rather than going through the correct functions – it bypasses the sorting functions.

    I fixed the problem by finding where in the theme (use the theme editor) it makes the database call (probably in the same php file as the data is used) and alter the sql directly from “order by ID” (or by title) to “order by menu_order”. For example, header.php in the Primepress theme I changed the following line from:

    $these_pages = $wpdb->get_results('select ID, post_title from '. $wpdb->posts .' where post_status = "publish" and post_type = "page" order by ID');


    $these_pages = $wpdb->get_results('select ID, post_title from '. $wpdb->posts .' where post_status = "publish" and post_type = "page" order by menu_order');

    Also, if you need page ordering in the side bar widget you need edit the widget and set the “sort by” to “page order”.

    Hope that helps. There are some really shoddy themes out there.

    Thanks for the widget!

    This plugin does not work. Did everything as described, updated permissions etc. I also checked my WP Theme is uses a generic wp_list_categories(); to call the categories. Nothing changing from the default order. Please fix it. Thanks!

    Use this plugin instead, it does the same job and works as advertised:

    bento’s post is regarding My Category Order and if you follow the installation instructions it does work. The order does not magically show up on the front end.

    I was hoping for it to work but I got some js errors in using WP 2.6.3:
    – element.tagName is undefined :: dragdrop.js?ver=1.8.0 :: ln 600
    – element.dispatchEvent is not a function :: prototype.js?ver=1.6 :: ln 3936
    – $(“orderButton”).style is undefined :: edit.php?page=mypageorder :: ln 243

    It looks like both jQuery and Scriptaculous are used in this plugin (I’ve never used the latter but prototype is what Scriptaculous is based on is it not?). Why not use one or the other?

    My plugin only includes Scriptaculous using the following code:


    The jQuery scripts get loaded on every single page (at least for me it does, not sure if this is normal or done by a plugin). Regardless the two libraries should run fine side by side like they have for over a year since I added the drag and drop. Every single time an issue comes up with JavaScript and WordPress it seems it is always a plugin doing something bad.

    wp_enqueue_script is the preferred method of including JavaScript on a page because it keeps track of what’s been added already.

    I have my page order working on a site using wordpress 2.6.3, and not working on a site using wordpress 2.6.3

    I am using wp_list_pages('sort_column=menu_order&title_li=&depth=1'); in the header to display the main menu.

    The problem I’m having is that I reorder the pages using the my order plugin and hit save. If I then return to the plugin page the order has been reset to the default. For some reason the plugin just wont save any of my changes. All files have full write permission so I have no idea what is causing this problem.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘My Page Order Plugin Doesn’t Work!’ is closed to new replies.