Simple Page Ordering

Order your pages (and other hierarchical post types) with simple drag and drop right in the post list.

Order your pages, hierarchical custom post types, or custom post types with “page-attributes” with simple drag and drop right from the built in page list.

Simply drag and drop the page into the desired position. It’s that simple. No new admin menus pages, no clunky, bolted on user interfaces. Just drag and drop on the page or post-type screen.

The plug-in is “capabilities aware” – only users with the ability to edit others’ pages (editors and administrators) will be able to reorder content.

Integrated help is included: just click the “help” tab at the top right of the screen.

Please note that the plug-in is not compatible with Internet Explorer 7 and earlier, due to limitations within those browsers.

simple-page-ordering screenshot 1

simple-page-ordering screenshot 2

Jake Goldman
Jake Goldman
  • Rating
  • Requires 3.8+
  • Downloads 337874
  • Updated 2014-05-31

133 Comments

  1. Christopher von Bronsart

    hey there!
    i always missed this feature! unfortunately it breaks the quick edit feature in wordpress. it’s not possible anymore to enter something in the text fields. do you consider expanding this functionality to posts too? that would be awesome!

    keep up the great!
    cheers.chris

    · Reply
    • Jake Goldman
      Jake Goldman

      Thanks for the bug catch! This should be fixed in a just released update. I’m not intending to add this to posts, since posts, by their nature, are ordered by their publication date. What would the use case be?

      · Reply
  2. Nate Sees

    Thanks for this plugin, Jake. It’s exactly what I’ve been looking for. Anything special I need to do to make this work for custom post types? It’s currently working for Pages, but none of the custom post types I have defined (which are all heirarchical) have have the drag and drop enabled.

    · Reply
    • Michael Snow

      Same problem here. Installed on a WP 3.1.1 site with a custom hierarchical post type, and drag and drop is not showing up for it. Any tips?

      · Reply
      • Jake Goldman
        Jake Goldman

        Are you certain it’s been set as hierarchical? Do you have custom columns?

        · Reply
        • Ryan

          I’m having the same issue. Is there a resolution to this? I have custom post types, and I can order them in the admin, but their order does not change on the site.

          · Reply
          • Jake Goldman
            Jake Goldman

            You probably need to modify the part where you’re retrieving / showing the posts to sort them by menu_order.

            ·
  3. Hugh

    Hi,

    I am playing around with your plugin since my site looks like having around 40-50 pages in the end.

    Looking at the documentation is seems to say that your choice of page numbers shown will be remembered – but it always seems to default to 20 pages whenever I leave and come back.

    Can this choice be coded in somewhere, so “show all” is the default?

    That aside, great plugin!

    Thanks.

    · Reply
  4. Dean Oakley

    Great work! I got it working with custom posts.

    · Reply
  5. Rafal

    How about a modifier key? The page becomes a child of the page it is over if shift is pressed while dropping…

    · Reply
    • Jake Goldman
      Jake Goldman

      Interesting idea, but I’m afraid that wouldn’t be obvious. I’m exploring some more intuitive alternatives.

      · Reply
  6. Carlos

    Hey Jake, cheers for such great plugin man, it works like a charm!

    Love the idea of being able to see up to 100 pages ‘per page’, but it would be GREAT if you could save this setting in the DB so it always shows 100 (or whatever number you want) by default, instead of having to filter it. Also, what someone said re the ‘quick edit’ issue.

    But still, very solid. Thanks again :)

    · Reply
    • Jake Goldman
      Jake Goldman

      I thought Quick Edit was fixed in my latest release. Can you explain?

      It’s supposed to save your preference for the filter as well… I’ll have to investigate that.

      · Reply
      • Carlos

        My apologies, I think the Quick Edit thing is working all fine (not sure why I said it wasn’t, sleep deprivation!)

        However, the filter isn’t keeping the preference. I’m using WP3.1.2 and I’m not using and plugins that could clash with it.

        Hope this helps man

        · Reply
  7. Dennisz

    Hi there! Great plugin. Many thanx!
    Having some problems though. Working nicely on our local development server using WP 3.1.3. But has ordering issues online (same configuration).

    Does this plugin use server-dependent features somehow?

    · Reply
    • Jake Goldman
      Jake Goldman

      No, but low end shared-hosting servers often aggressively time out AJAX requests (which this relies on). I had some very bad experiences with Bluehost and timed out AJAX requests (across a variety of plug-ins), for instance.

      · Reply
    • alex

      i am having problems too with the ordering…
      i am getting this error:
      Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 597642 bytes)

      i do have a 200+ on the website and i am using wordpress version 3.0.4.

      it seems that the ordering script is running all the pages everytime i try to move a page.

      i tried to filter the number of pages that are displayed before proceeding with the ordering as i thought it may only run the script on the displayed pages but sadly that didnt work!

      anyone has any suggestions?

      · Reply
  8. Matteo

    Hi Jeke, great plugin, it works fine, thanks!
    Do you think it would be possible to create such a plugin to sort the links (blogroll) always with drag and drop?

    · Reply
    • Jake Goldman
      Jake Goldman

      Maybe, but it would need to be built from scratch. Not on my radar at the moment, unless a client wants to pay for it!

      · Reply
  9. Ralph

    Hi _Jake, it’s a great plugin, but i can’t make it work! I think is my theme : Atmospheric Augmentation…im tryin hard to make it work, also tryn others plugin…but always the pages are in alphabetical order….i hope u can help! Best regards…

    · Reply
  10. Sudip Biswas

    sorry to knock again. the problem is now solved.
    this is really a rocking plugin.

    · Reply
  11. Jan

    Hi Jake, awesome plugin!! Thank you very much!

    Just what WordPress has been missing.
    Perhaps you can submit it for making it part of the core!

    One suggestion for improvement:
    If the plugin would check for current_user_can(‘edit_pages’) instead of current_user_can(‘edit_others_pages’), it would also allow users who can only edit their own pages *(but not others pages) to use the plugin

    I tried it out, and it works fine. Except .. when a user tries to sort someone elses pages, the cursor also changes to the drag-and-drop cursor, and the plugin will erroneously give the alert: “Items can only be repositioned within their current branch in the page tree / hierarchy …etc.”

    I think could be mend if the plugin would also check whether the current user is the post_author. Do you think that is doable?

    · Reply
    • Jake Goldman
      Jake Goldman

      The flaw in your logic is that when your changing the order of your page, you’re also necessarily changing the order of the pages around it. If you move your page to position 1, aren’t you moving the page with position 1 into position 2? It seems to me most use cases would demand that only a user capable of editing all pages should be able to reorder them.

      · Reply
  12. Sandy Roe

    I upgraded to the 1.0 version of the simple-page-ordering plugin this morning, and I am getting an error message (
    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/content/s/i/n/singer1966/html/Sandy-Roe/wp-content/plugins/simple-page-ordering/simple-page-ordering.php on line 54 I am still using WorkPress 3.1.3. (I was going to upgrade WordPress too, but now I can’t even get into the admin panel. I love this plugin! Any fixes?

    · Reply
    • Jake Goldman
      Jake Goldman

      I wonder if you’re using an old version of PHP (older than 5.2, which WordPres 3.2 and newer require).

      · Reply
  13. Barry

    Use case for post ordering: I often use a posts category for slides, features, etc – would be nice to be able to order these not by date.

    · Reply
    • Jake Goldman
      Jake Goldman

      If you add ‘page-attributes’ support to your non-hierarchical post types, they will get ordering capabilities via a “Sort by Order” filter option on the edit page. You can add page-attributes to posts by adding the following to your theme’s functions.php file (or creating a simple plug-in):

      add_action( 'init', 'add_page_attr_to_post' );
      function add_page_attr_to_post() {
      add_post_type_support( 'post', 'page-attributes' );
      }

      · Reply
      • Adam

        Does doing this mean that Simple Page Ordering will work on those post-types, then? I’ve added the add_page_attr_to_post action you posted above to functions.php and the Post Edit pages now are showing Attributes boxes with Order fields in them, but I don’t have drag and drop on the listing page for the custom post type. I’m using Pagelines Pro (with the Pagelines Base child theme, which is where the functions.php I’m using is) as my theme, and drag and drop worked off the shelf for regular Pages as soon as I installed the plug-in. Love to hear your thoughts…

        · Reply
  14. Oren

    HI!
    Great Plugin!

    Idea for Hirerchy:

    1. Item droped will be by default the same level as the item above it.
    2 add 2 javascript links per post <> which can move the post hirerchy level.

    What do you think?

    · Reply
    • Jake Goldman
      Jake Goldman

      What if you want to move a child page to the top of the child pages? Does it become a child of its parent?

      · Reply
  15. renee

    Hi! I love this plugin but I’m having trouble. I can drag and drop my pages but it doesn’t change the order on my actual site. I’m new to WordPress so I’m sure this is a case of user error but I can’t figure out what I’m doing wrong. Any thoughts?

    Many thanks!

    · Reply
    • Jake Goldman
      Jake Goldman

      I’m guessing your host may be timing out the AJAX request. Do you have a very large number of pages at the same depth?

      · Reply
  16. Nevis1

    Very slick plugin. Was confused at first on how to order pages. Did not realize that I had to drag the WHOLE page section up or down. Thanks for this. Much appreciated.

    · Reply
  17. Anna

    Thank you SO much!

    I tried another page organizer with a slippery drag ‘n’ drop [and try again and again] plus I hadda go back and forth to the WP “All Pages” dialog. This one is a piece o’ cake with everything together where it should be.

    As soon as I can spare some cash, I’ll send some your way.

    Thanks again, Jake!

    · Reply
    • Jake Goldman
      Jake Goldman

      Thanks for the feedback!!

      · Reply
  18. Cris

    Just want to say … GREAT IDEA ! and GREAT PLUGIN !
    If you also solve the problem of changing parents then … this plugin will be the best!

    · Reply
  19. Opher

    The plugin seems amazing but doesn’t work for me :(
    The plugin UI seems to work, I can reorder the pages, but as soon as I refresh or exit and reenter the admin the order returns to what it was. Please advise!

    · Reply
    • Jake Goldman
      Jake Goldman

      Sounds like your host is timing out the AJAX request. This is more likely if you have large numbers of pages at the same level.

      · Reply
    • Opher

      The problem was in fact a plugin collision with Custom Content Types Manager 0.9.3.3
      I did some back and forth with its super nice dev and we got the problem solved! :)

      More detail here:
      http://code.google.com/p/wordpress-custom-content-type-manager/issues/detail?id=180

      · Reply
  20. cangpo

    Hi. Is there any way to make this plugin work for non-hierarchical custom posts? I really need it.

    · Reply
    • Jake Goldman
      Jake Goldman

      It does, but the post type have must have “page-attributes” support. You can then click “Sort by Order” above the post list, and then set the menu order with drag and drop.

      · Reply

Leave a Comment

We believe in web publishing made easy. Maybe even fun.

hire us apply