WordPress.org

Ready to get started?Download WordPress

Forums

Admin Quick Jump
[resolved] Love it!! One question... (16 posts)

  1. DivaVocals
    Member
    Posted 2 years ago #

    Anyway to change the display order to display in title order instead of by post ID??? I love that it displays the post/page ID, but I think my clients will be able to manage things better if the items were listed in title order..

    and just curious, how does this menu behave on LARGE blogs with a couple hundred posts/pages???

    http://wordpress.org/extend/plugins/admin-quick-jump/

  2. DivaVocals
    Member
    Posted 2 years ago #

    I figured out how to change the display order.. For those who want to make the same change go to admin-quick-jump/jck-quick-jump.php. Find this line (it's in TWO places in this file):

    ORDER BY ID DESC

    change it to:

    ORDER BY post_title ASC

    This changes the dropdown to order the pages/posts by title in ascending order.

    I still would like some feedback on how does this menu behave on LARGE blogs with a couple hundred posts/pages...

  3. jamesckemp
    Member
    Plugin Author

    Posted 2 years ago #

    Hey, sorry for the slow reply - I don't get notified of these things!

    I need to make a couple of updates to this plugin ideally:

    Order by post_title (perhaps the option to choose
    And also, indent subpages.

    If there are a lot of posts or pages the list just becomes scrollable.

    Thanks, glad you like it!

  4. jamesckemp
    Member
    Plugin Author

    Posted 2 years ago #

    Updated the plugin!

    Updates include:

    1. Page Hierarchy
    2. Ordered by title (Good thinking)
    3. Plugin is now written in a class

    Let me know what you think

  5. DivaVocals
    Member
    Posted 2 years ago #

    Wow you are awesome!!! Much better.. :)

    I guess I'm gonna have to wait and see how this behaves as the client's site gets bigger.. I am super concerned about how the performance of this dropdown will be as the number of posts increases.. The number pages will be somewhat steady.. Posts are a different matter..

  6. jamesckemp
    Member
    Plugin Author

    Posted 2 years ago #

    Cheers.

    I don't think there will be any performance issues as such, it should render the list pretty quickly. It may become tedious having a lot of posts to scroll through though - I will consider some sort of solution...

  7. DivaVocals
    Member
    Posted 2 years ago #

    You rock.. this is a neat plugin.. makes things so much easier..

  8. shawn
    Member
    Posted 2 years ago #

    I preferred when it was ordered by post ID makes more sense... maybe I will edit the code and see what I come up with...

  9. shawn
    Member
    Posted 2 years ago #

    Modified

    $jck_posts_recent = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE $wpdb->posts.post_parent = 0 AND $wpdb->posts.post_type = '$posttype' AND $wpdb->posts.post_status = 'publish' ORDER BY ID DESC LIMIT 10");

    I would love to see this, adds the 10 most recent published post then goes alphabetically...

  10. DivaVocals
    Member
    Posted 2 years ago #

    Shawnsandy.com you may prefer by post ID, but most "non-techy" folks will have a difficult time managing posts that way since the post ID means nothing to them.. Alphabetical order makes more sense and since the post ID is retained in the display for those who need that can still get it.. Of course if that doesn't work for ya, you can always modify the sort order to suit your OWN situation.. I'm glad james made the change..

    As for your posted code, there's nothing to stop you from modifying the plugin to suit your own needs.. Unless james decides to he wants to update this plugin to admin options so that everyone can get all the many options they might want/desire/suggest, you may have to continue to modify the plugin as your unique needs require..

  11. shawn
    Member
    Posted 2 years ago #

    @DivaVocals when it is ordered by post ID the name still shows it just shows the 10 most recent post first, then it goes alphabetically... Users tend to make changes to their most recent post as is the default way in the wp post screen!!!

  12. Piet
    Member
    Posted 2 years ago #

    I agree with @shawnsandy and found it weird to read that it used to be post_id and now changed to alphabetical order.

    I will try your solution! On which line do I have to add that code?

  13. shawn
    Member
    Posted 2 years ago #

    Yea, it was a weird change, here is a gist link to the modified code
    Modified version

  14. Piet
    Member
    Posted 2 years ago #

    Thanks shawnsandy, this works perfect!

    Now hopefully for the people who are using WPML this thread gets a solution soon too :)

  15. jamesckemp
    Member
    Plugin Author

    Posted 2 years ago #

    Hey guys, I found it easier to navigate in alphabetical order, especially for larger sites. However I will add an options page for users to choose their own set ups. Anything else need doing?

  16. DivaVocals
    Member
    Posted 2 years ago #

    Awesome that you all agree with each other.. the topic of my original post was regarding my inquiry and solution to change to sort order to alphabetical. IMHO, NON TECHNICAL users tend to look for things in an order they understand.. Alphabetical is an order THEY understand NOT post ID.. Especially for larger sites.. Especially when the users are the "non-techy" types.. Which is why I started this thread, and posted my earlier fix, and why James made the change to the plugin..

    All that said this isn't about who's right or wrong.. You should feel free to do what I originally did. Modify the sort to order to suit YOUR OWN needs.If James is so inclined, he will update his FREE plugin to allow users to choose their own setup.. But IMHO a continued back and forth discussion on HOW James SHOULD chose to code his FREE plugin is non-productive.. shawnsandy.com posted a solution for your particular sorting needs.. Problem solved.. Right???

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic