WordPress Plugin – My Page Order

My Page Order allows you to set the order of your pages with an easy to use drag and drop interface. Adds a widget with additional options for easy installation on widgetized themes.

Download here: My Page Order - WordPress.org Plugin Directory

Plugin Info

My Page Order was released in 2006 and has been compatible with every version of WordPress from 1.5 to 2.8.5. It went through a lot of changes, but the effort needed to keep it backwards compatible was quite burdensome. As of version 2.8.6 of the plugin, it will only support WP 2.8 or above.

With the break in compatibility I'm able to take advantage of the new Widget API. It makes adding support for multiple widget instances a snap. Rewriting the widget code also allowed me to add widget options for nearly every single parameter normally available to the wp_list_pages template function. If you were being held back by the lack of options on the built in Pages widget then definitely check that out.

If you'd like to say thank you or make a donation please visit my Gifts and Donations page.

All of the old comments were moved to this page: My Page Order - Archived

Looking for fast, reliable and affordable web hosting? Try StableHost.

Read my review here - Only $2.75 a month with free domain

128 Responses to WordPress Plugin – My Page Order

  1. Pingback: Facilita el uso de Wordpress a tus clientes | Diego Mattei Blog

  2. Hi,

    I’m using a theme that only works with pages instead of posts. I installed the My Page Order plugin, but it works with posts.

    Is there a way to make it work with pages, or move it to the pages function?

    Thanks,

  3. Pingback: mmonet.info » ?????????????? WordPress????????

  4. Pingback: mmonet.info » ?????????????? WordPress????????

  5. Pingback: WordPress Plugin Releases for 11/28 « Weblog Tools Collection

  6. Phil says:

    Hey some Screenshots (may be in the next Version) woold be nice

  7. Pingback: Wordpress Plugin – My Page Order??????? - vcdu.com

  8. Pingback: 18 Plugin Wordpress Wajib Pilihan Aku

  9. bee says:

    not Screenshots, but real sample..!!

  10. Pingback: ?? wordpress ?? My Page Order « ????

  11. Pingback: 8 ???????? WordPress ??? ?????? ?? ?????????? | CMS-WP.ru

  12. Pingback: blogs.uugrn.org » Blog Archive » Plugin-Updates 2009/12/08

  13. Stu says:

    Pages are not displaying. I can only get 5 pages into the menu. And now submenu pages are showing up on Main Menu. Is your plug-in doing this? The website I am having this problem on is oceanbaydemo.ofyourwebsite.com.

    Regards,
    Stu

  14. Pingback: Wordpress Plugin – My Page Order | Geeky Weekly | WordPress News

  15. terrie says:

    Thanks! I tried this out and it works great for a “flat” site. I have a site that has almost 100 pages that we’d like to order, but many of them have a parent page. I’d like to order all of the pages at once (because we have a context where all pages, regardless of the parent page, are listed). Is there some sort of modification that can be done so that the reordering widget shows ALL pages, regardless of parent?

    Thanks again!

  16. Carson says:

    I just added your plugin and set the order of my pages. All of them are not showing up in my navigation now. I have followed the instructions with the page widget and editing the template. Can’t figure it out. Any ideas would be appreciated,

    Carson

  17. Carson says:

    NM, problem solved

  18. Daniela says:

    Hi,
    hi adjusted the page order in the backhand but those doesn’t be published in to the fronthand web site. I saved all but the order doesn’t work… please help me…

  19. Pingback: 3 Plugins para organizar links para paginas, categorias e blogroll | WPThemesPT.com

  20. Kimberly says:

    Great plugin thanks! Simple and works really well!

  21. Pat says:

    Ghost Pages?? Hellow, I have deleted some pages but they still show in the “My Page Order Panel” (not in the site, just the admin panel) Any Ideas?

  22. Pingback: Lorelei Web Design » 75 Best Wordpress Plugins That Make Bloggers Lives Easier

  23. Pingback: Wordpress plugins to improve site navigation | H-Y-P-H-E-N

  24. laurens meurs says:

    LS,

    The plugin is basic, but functional. Thanks for that!

    Since WordPress 2.9 has a new Trash feature, pages in the trashbin still show up in My Page Order. To avoid this change:

    function mypageorder_pageQuery($parentID)
    {
    global $wpdb;

    return $wpdb->get_results(“SELECT * FROM $wpdb->posts WHERE post_parent = $parentID and post_type = ‘page’ ORDER BY menu_order ASC”);
    }

    into

    function mypageorder_pageQuery($parentID)
    {
    global $wpdb;

    return $wpdb->get_results(“SELECT * FROM $wpdb->posts WHERE post_parent = $parentID and post_type = ‘page’ AND post_status ‘trash’ ORDER BY menu_order ASC”);
    }

    I just added ” AND post_status ‘trash’” tot the query. You can also do this for the mypageorder_getSubPages function. While you’re changing this function, you also might alter

    if($postCount[0] > 0)

    into

    if($postCount[0] > 1)

    By doing this, pages with only 1 subpage will not show up in the dropdown.

    Cheers!

    Laurens Meurs, Rotterdam

  25. laurens meurs says:

    My former comment is not displayed the way it should be. My alteration of the query ” AND post_status ‘trash’” contains a ‘not equal’ statement with a less than and greater than sign, which does not show on this page of HTML reasons.

    So change the modifications to ” AND post_status != ‘trash’”, does the same trick!

  26. Pingback: The Power of WordPresjQuerys and : 25+ Useful Plugins & Tutorials | Umraz Ahmed | The Official site

  27. Pingback: ?wordpress??????? | ???

  28. Asif says:

    i have instlled the plugin but could not think how this should be in working condition. .. can anyone tell me steps to place it on all pages and i want to use this for amazone liking

    Thanks

  29. Pingback: 15 Useful Wordpress Plugins « Nulls

  30. Pingback: A major update of SWIFT to solve problems with thumbnail and file permissions | Swift Themes

  31. Tod says:

    Thanks a lot! This plugin makes working with wordpress pages much more easier.

  32. Måns Jonasson says:

    Hello!

    Your plugin is great, thank you! The one thing I was having problems with was that my site is multi-language using the qTranslate plugin. Since this plugin stores multilanguage content in the regular page data, your plugin was displaying every post title twice, like

    PageNameInSwedishPageNameInEnglish

    I solved this by changing only two lines in your “mypageorder.php”:

    Line 96:
    Changed
    echo “ID’ class=’lineitem’>$row->post_title”;
    to
    echo “ID’ class=’lineitem’>” . __($row->post_title) . “”;

    Line 183:
    Changed
    $subPageStr = $subPageStr.”ID’>$row->post_title”;
    to
    $subPageStr = $subPageStr.”ID’>” . __($row->post_title) . “”;

    That is, all I did was use the WordPress gettext standard function “__()” for returning filtered page titles.

    If you would like to add this to your plugin a lot of users will be able to use your plugin together with qTranslate and other multi-language plugins.

    Thank you.

  33. Måns Jonasson says:

    OK, WordPress of course screwed up my code… :(

    I added it to pastbin, here: http://pastebin.com/f2671a5b2

  34. Pingback: Nowa instalacja WP – testowa « Instalacja testowa

  35. Pingback: Sofá Preto de Luxo « Capri Estofamento

  36. Mark says:

    Just wanted to request the adding of a CSS definition for selected class adding. It makes sense to have a place holder for where the page is being ordered. The default feels clunky so I added my own into the plugin but obviously breaks with updates.

    Here is my addition to the CSS:

    li.ui-selected {
    margin: 3px 0px;
    padding: 2px 5px 2px 5px;
    background-color: #FFFFFF;
    border:1px dashed #B2B2B2;
    height:17px;
    }

    I know the height is static but I didn’t want to rewrite adding hidden text in the blank li.

    Let me know your thoughts…

  37. I have run into a problem and I think the effect is related to your plugin. I hope you can advise.

    I have set the order of parent pages and that works fine. However, under one of my parent pages, I have 80 child pages. When I visit the WP “Edit Pages” screen, my parent pages are in the order I set, but I need the child pages to be in alphabetical order and they are not.

    If I go to “My Page Order” and under “Order Subpages” I choose the Parent Page that has 80 child pages, I see that they are listed there in the same way they are listed in the “Edit Pages” section. I can manually order these subpages into an alphabetical listing, but I will be adding more and more of these subpages to this parent page and would rather not have to go in and rearrange this everytime I add a page.

    Is this a bug?

    Is there a way to make subpages (child pages) default to an alphabetical listing?

  38. ajian says:

    If “my page order” have a good performance in the sidebar navigation ?
    Anyone can show me an really example please, thank you!
    Ajian
    2010.2.4

  39. Bill says:

    Hello,
    I have successfully installed and used your plugin on one of my sites. Now I’ve installed it in another and it isn’t rearranging the order.

    The only difference is that with the working one, I am not using widgets for my pages but in the non-working site I am.

    Any fix for this other than using non-widget pages?

  40. Bill says:

    Nvm, once I used your widget (which I just found) everything works once more.

    Great plugin… very useful.

  41. Great Plugins, very nice.

  42. I really like this plugin, very usefull.

  43. Roger says:

    Does not seem to work with WP 2.9.1 with Buddy Press plugin. I would like to rearrange order of tabs (I guess they are pages) on the landing page. Thanks.

  44. Pingback: 35 Stylish and Modern Wordpress Plugins using jQuery UI | AlexVerse

  45. Pingback: Mise à jour de mes galeries photos | Pensée Libre

  46. Hello!
    I translated plugin “My Page Order” into Ukrainian. How can I send lang files to you?

  47. Johnshade says:

    hey just installed it, i am using the widget called ‘my page order’ and its not displaying any of my pages but it shows the title. any help will be greatly appreciated. x

  48. Johnshade says:

    sorry i meant showing only title of the widget. and under the widget is blank no pages or titles or anything. my site has been blocked from public and not sure how to remove it. my friend set it up

  49. Eljay Arem says:

    Hi…

    I just installed your MyPO plugin. But it does not work as the result visible on the website. It works very well within wordpress (I use version 2.8.). I can organize the pages and sub pages. But it does not appear on the front page.

    I suppose the reason is, that there is something wrong in the theme on its own, because even I could not manually bring the pages into a new order by using the order numbers before installing your plugin.

    I thought, maybe I can overjump this lack of the theme and instead get it by your plugin working, but its not.

    See here: http://e-music.india-meets-classic.net (The pages are listed on top horizontal very chaotically.)

    I have seen on your FAQ site this question: “Why isn’t the order changing on my site? Answer: The change isn’t automatic. You need to modify your theme or widgets.”

    What do you mean with that “you need to modify” ? – Is there any specific code to implement?

    I am not a computer programmer… just following instructions to bring my blog working… my main focus is to have some nice (non commercial) radio shows monthly and deliver my users a well structured blog site.

    Hope you can give me a tip. I already contacted the programmer of the theme in December as there were some other problems in this theme (see my public notice here: http://bit.ly/buxaiX ), but nothing… Not any feedback till today. So I repair step by step the lacks on my own. Search function now is working well. The programmer had forgotten a whole search.php file.

    Waiting for your reply…. thank’s so fare giving attention. Warm regards from Europe/North Germany, Hamburg – ElJay.

    P.S.: I do not use on the sitebar a page list. But should I implement this code line, too in sitebar.php ?
    wp_list_pages(‘sort_column=menu_order&title_li=’); If yes, where should I set the code ? Dont want make a mistake and destroy everything, so better I ask instead just doing by “try & error”.

  50. Pingback: ?????? WordPress "My Page Order" ?????? ??? ?????????? ???????? ???????.

  51. Ramona says:

    Is the author responding to any questions here? Mine is not working. Trying to exclude pages with the widgets. Nothing is changing. So listed the included pages in the widget. Still nothing. Seems like a nice plugin if it worked.

  52. PSG says:

    This is definetely a must for every wordpress user. Love it, looking forward to your other releases.

  53. gold says:

    Sehr interessant. Kommt hier noch ein weiterer Beitrag? Möchte gern einiges mehr darüber erfahren. Könntest du mir per E-Mail weiterhelfen?

  54. Pingback: 5 Wordpress Plugins that Every Client Wants for Their Website | Evan Samek's blog

  55. gsula says:

    I did these steps but nothing has been changed. And also there is no “wp_list_pages(‘sort_column=menu_order&title_li=’)” in sidebar template as it’s told below in point 4.

    1. Install plugin and activate it on the Plugins page
    2. Go to the “My Page Order” tab under Pages and specify your desired order for pages
    3. If you are using widgets then just make sure the “Page” widget is set to order by “Page order”. The plugin also installs it’s own widget with more options.
    4. If you aren’t using widgets, modify your sidebar template to use correct sort order: wp_list_pages(‘sort_column=menu_order&title_li=’);

  56. gsula says:

    oh, I did a mistake. So now it works well

  57. It’s loads of fun. I do wish people would just leave comments so we can all have fun together! I simply have got to find a way for them to speak up! =)

  58. Pingback: My Page Order Wordpress plugin | CODY1

  59. Pingback: 3 Plugins para organizar links, paginas, categorias e blogroll « WPTotal.com

  60. The plugin has been extremely useful to us as we were struggling re-ordering our men and women models pages…This is now piece of cake and all our models portfolios so easily managed!

  61. Chlorella says:

    Ordering our pages has always been tricky but with this plugin we manage all our chlorella tablets, chlorella powder and chlorella capsules pages so much faster and easier. Many thanks!

  62. Pingback: 101 Killer WordPress Plugins that Kick Ass - Montana Programmer

  63. Pingback: 101 Killer WordPress Plugins that Kick Ass | MyWebNow.com

  64. Florian says:

    Hi pleace update the plugin on line 96 and 183. “.__($row->post_title).”
    some other plugin need this for translation. thanks ;).

  65. hamda says:

    I have installed the plugin, ordered the pages but i cant see the result on the front end :( Please help me how to do it

  66. Dan says:

    Hi I’ve been using this plugin for years and love it. I have one challenge. Not all my pages are displaying therefore I can’t order all of them and it’s messing up my menu’s.

    I am o.k with cut and pasting but that’s where my expertise ends so please give me some clear steps as to what I need to change in order to get all the pages listed.

    Thanks

    Dan

  67. Hi! I made a Finnish translation of the plugin, but can’t find your contact information ANYWHERE on your site or plugin docs. If you can provide me with your email addy I’ll send you the files.

    Thx for the plugin!

  68. Pingback: Essential WordPress Plug-ins & Widgets starter kit « Web Hosting Blog | Heart Internet Official Blog

  69. setyo says:

    I just downloaded this plugin, have never been used, hopefully this plugin can help me in organizing the page in wordpress

  70. Pingback: Useful Plugins for your Wordpress site | Krom8

  71. Pingback: 10 Essential WordPress Plugins « pxlcr – design and development notebook

  72. BRILLIANT. Just what I needed. Thanks!

  73. anupam says:

    HI,
    gUD PLUGIN
    Bt not working on widget
    setting it on my page order
    bt still all links are displaying

  74. Pingback: ??????????? ???? TranceFM`a » ?????? My Page Order

  75. Nancy says:

    I am trying to use My Page Order plugin for a widget on my sidebar. I would like the subpages not to be listed but to have them pop up when you hover over the parent page. How can I achieve this?

  76. Madeglobal says:

    Hi,

    The myPageOrder plugin does not seem to work with WordPress 3.0-beta1. When I try to re order the pages, I get redirected to a page not found every time. Same happens if I try to click on “order subpages”.

    Hope you can get this fixed as I believe that 3.0 is due for release 1 May.

    Thanks for your amazing plugin, which should be part of the core of wordpress, it is that important.

    Tim

  77. It was very helpfull thank you so much for sharing. I will share it with my friends. Thanks

  78. Catus Lee says:

    I have installed WPML multilingual support recently and find myself unable to access “My Page Order” with the message: “You do not have sufficient permissions to access this page.”

    Is there any way that this can be resolved?

    Thanks a lot.

  79. Nicola says:

    Stumbled this blog post, thanks.

  80. hi, very useful plugin. thank you! one question: the blog home page does not show up in the list of pages. how can i change the order of that? instead of making the blog page the home page, i want to rename it to blog and move it towards the end. any help is appreciated.

  81. Pingback: ???WordPress???? | Laycher's Blog

  82. Will says:

    Same problem as Catus Lee above. WPML and My Page Order doesn’t seem to work together. Would be awesome if this could be resolved. Your plugin is great, but I need to be able to use both. Appreciate any help you could give. Thanks! =)

  83. Joel Murphy says:

    I was able to fix WordPress 3.0-beta to use this plugin by making a symbolic link, named edit-pages.php, to edit.php in the wp-admin directory. If you don’t have shell access or are not on a Unix/Linux-based server, you can simply copy edit.php to edit-pages.php.

  84. Dave says:

    Works perfectly for me. Thank you!

  85. Madeglobal says:

    @Joel Murphy – can you explain more? Where do you put this symbolic link/copy?

    Thanks!

  86. hotto says:

    I have the sama problem as Catus Lee and Will. While waiting for a real fix, you may reorder the pages by temporary inactivate WPML multilingual support, reorder the pages and then activate it again.

  87. Pingback: 8 Plugin di Wordpress per Gestire una Pagina | | KUANDIKA |

  88. Franck says:

    I got the same problem whith WPML. I notice that the hookname had change to pages_### to posts_####. But this is not the only problem because this one is very easy to solve. The page list don’t work anymore because the wpml plugins seems to have change a bit the DB and the request to grab all the pages don’t work anymore. The problem is the same with pagemash.
    I try to solve it and with the permission of the author, I’ll give you the new version WPML compliant.

  89. Pingback: Wordpress Wednesday – Favorite Plugins List | The Blue Jeans VA

  90. Pingback: » Grouss Botz Wiesel.lu

  91. Pingback: The Power of WordPress and jQuery: 25+ Useful Plugins & Tutorials | HOSTERWARE UK. Tel 02081337636

  92. Pingback: Top 20 Plugins for WordPress | Curtez Riggs dot com

  93. Pingback: jQuery Wordpress Plugins Strikes Again « If you want to get along, Go along.

  94. Jennifer says:

    Where can I find the WPML file? I cannot move pages either.

  95. Tim says:

    Hi. Great plug in. It’s just what I needed. However, you may want to future proof it for the release of WordPress 3.0. But on 2.9, it’s just perfect. Thank you so much.

  96. Rif says:

    What do you do with this file was you download it??? Sorry if that’s a really basic question but where do I upload it to fix my paging order??

  97. Rif says:

    Ok lol i did the whole install plugin but then what?????????????

  98. Rif says:

    The webpage cannot be found
    HTTP 404
    Most likely causes:
    •There might be a typing error in the address.
    •If you clicked on a link, it may be out of date.

    What you can try:
    Retype the address.

    Go back to the previous page.

    Go to and look for the information you want.

    great plugin……..

  99. David Kelly says:

    Hi,

    Just wanted to say thank you for the fantastic and very useful plugin!!
    Regards,
    Dave

  100. Franck says:

    Sorry for the delay, I will not give you a new version of this plugin for WPML because this one works fine with QTranslate. Moreover Qtranslate seems to be better than WPML.

  101. Zona Musisi says:

    I’m not see the example here…
    can you add the screen shoot the plugin. .
    to make understand. ..
    :)

  102. Hey,

    I made this plugin WP 3.0 compatible. Email me if you want to know how.

    Cheers
    = Sherman

  103. David Hill says:

    Hello,
    I’m currently running a test install of WordPress 3.0 RC2-15182.
    The plugin is working correctly, however in Debug mode it is throwing one small error,
    Undefined index: page in
    ./wp-content/plugins/my-page-order/mypageorder.php on line 18

    Just a FYI

  104. Pingback: My Page Order : Powerful Plugins

  105. Pingback: ????? ???? - ??? ??? ??? ?? ????

  106. Xoxo says:

    Hello!

    Thank you very much for your nice plugin!

    Does it support CUSTOM POST TYPES?

    Thank you!!

  107. Wael says:

    i dunno if it’s a bug but the plugin is also fetching the draft pages..which i think it shouldn’t

  108. Pingback: Wordpress 3.0 Now Available For Download | But You're A Girl

  109. jitkasem says:

    Good plugin , my website also use this plug-in.

    Thank you.

  110. Pingback: Useful WordPress plug-ins : (IP) Law in Canada

  111. after upgrading to WP v3.0, I get a page that just says:

    Invalid post type

    Inside of a larger box.

  112. Pingback: ?????? Wordpress Plugins | ?????

  113. Pingback: My Order Serisi | Nedendir

  114. AH says:

    Great plugin – this should be integrated into WordPress from the start.

    One issue – is there a way to disable the plugin from appearing on a subscriber’s profile page? It’s now possible for a subscriber to login and see (and reorder) pages, even pages that the subscriber cannot ordinarily see.

  115. Pingback: Top 100 Wordpress Plugin Developers | Web Development for YOU

  116. Eddie says:

    Hey, im having a problem, when i click page order under pages tab, 5 of my pages move together instead of individually, any idea why this is happening?

    thanks

  117. Chris says:

    It would be great, if the plugin will be also able, to sort third level pages!!

    :-)

    Thanks!

  118. Pingback: Henkie’s Recepten | Ultranex

  119. Gareth says:

    Hi, thanks for the plugin – any plans to get this running with custom post types?

    I’m guessing you’d need an admin panel with checkboxes for all hierarchical post types…???

    Cheers.

  120. Neokmc says:

    This addon is not working for me. I am using WordPress 3.0

  121. Pingback: 35 Stylish And Modern Wordpress Plugins Using jQuery UI » The Nowhere News

  122. Pingback: Managing Page Menus: Two Valuable WordPress Plugins

  123. leo says:

    hello,
    love your plug in very helpfull.

    any idea why is not working on tmy site ?
    http://gator1196.hostgator.com/~kineticn/

    on avery theme i install it its not working i maybe doing something wrong. i fix the order in admin panel and “click to order pages” but the pages still like they ware before.
    is it working with js files ?
    can you please check it out.
    this plug in is very helpfull to me but to bed i cant use it for the sites i builds.

    thanks in advance.

  124. Pingback: Why Stephanie Leary Keeps Coming Back to WordPress

  125. Will says:

    Can’t yet donate, but hope to in the future (being a student at the moment!)
    Thanks very much for the plug-in.
    Best,
    Will

  126. Pingback: My Page Order jQuery Plugin | jQuery Wisdom

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>