Simple Page Ordering
Update that works with 3.4.1 (8 posts)

  1. sbrownin
    Posted 4 years ago #

    Just curious.... Is there a timeframe to have an updated version that works with 3.4.1?


  2. drskullster
    Posted 3 years ago #


    I managed to get it to work on WP 3.4.1.

    I noticed in bugzilla console that it was parseJSON() that got wrong characters and thus throwed an JS error. I had php notices in ajax response. So I did something ugly, but it works :

    in simple-page-ordering.js, on line 62, I put

    var results = [], re = /{([^}]+)}/g, text;
    while(text = re.exec(response)) {
    var changes = jQuery.parseJSON("{" + results[0] + "}");

    in place of

    var changes = jQuery.parseJSON("{" + response + "}");

    The code simply parses the response to get only what's inside curly brackets.

    Of course the best solution would be to get rid of the notices and warnings, but maybe the author could put some checks before using parseJSON ?

    Anyway, great plugin, I've been looking for something simple with seamless integration in WP. Thanks !

  3. Jake Goldman
    10up Engineer
    Plugin Author

    Posted 3 years ago #

    Been super busy, but hoping to make some time within the next week to look at that change and potentially update to 2.0!

  4. drskullster
    Posted 3 years ago #


    I forgot about this. Actually I realized I was getting php notices in ajax response because WP was in debug mode.

    So for users with standard configuration I guess the plugin should work out of the box :)

    Thanks again !

  5. dizmarkie
    Posted 3 years ago #

    hope there is a fix soon :) this is the best page/post type order plugin out there. Just doesn't work with the latest build of WP. (3.4)

    I can reorder stuff but the "order" fields do not update accordingly.

  6. dizmarkie
    Posted 3 years ago #

    Sorry, drskullster's fix does work. i tried and didn't have success and then realized i had an argument off in my query_posts in my template.

    this will do for now for sure but am super excited about a 2.0 version :)

  7. cmwelsh
    Posted 3 years ago #

    Is anyone getting this error in 1.4.2? Can you paste the error?

    I can't seem to make this glitch happen on my install of 1.0.

  8. cmwelsh
    Posted 3 years ago #

    Sorry, it's because I already fixed this issue a year ago in my fork on GitHub.


    Would someone like to merge in my changes? I added some isset() checks to fix this issue for now. I also added a patch to set the menu_order value when a new Page/Post is created.


    Let me know if I can help anyone further. I love this plugin. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Page Ordering
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.