Forums

CMS Page Order
[resolved] Add reorder functionality for posts (6 posts)

  1. wob
    Member
    Posted 4 months ago #

    Is this a possibility?
    And it would be nice to include a more convenient way to add support for custom post types!

    http://wordpress.org/extend/plugins/cms-page-order/

  2. Bill Erickson
    Member
    Posted 4 months ago #

    I'm not sure what you mean by a "reorder" functionality. That is the whole functionality of this plugin - the ability to reorder your posts/pages.

    Since this plugin is designed for developers to set up for their clients, I don't expect to create any settings pages for things like selecting applicable post types. When a client uses it everything should "just work" and they shouldn't be able to break it.

  3. wob
    Member
    Posted 4 months ago #

    Hm,

    I've installed it but it doesn't show up under the post menu, just the page menu, do I need to activate it in the same manner as you enable for CPT's?

    Right, fair enough. I tried out another reordering plugin which adds a setting page under "settings" that easily lets you enable/disable for post, page and CPT's. It's convenient and should not interfere with clients (since you shouldn't let them roam free with an admin account anyway!).

    Thanks for a great plugin!

  4. Bill Erickson
    Member
    Posted 4 months ago #

    Ah now I understand what you're asking about. Posts don't have a page order. That is strictly for hierarchical post types (pages). Non-hierarchical post types (like posts) are sorted in reverse chronological order. To reorder posts, change the post date.

    While you *can* get it to show up on posts using the filter described in the documentation, you'll also have to do some modifications to your theme to actually sort posts by menu order instead of date.

    Again, I highly recommend using the post date for managing the display of posts as that's what WordPress and all plugins will display them as.

  5. wob
    Member
    Posted 4 months ago #

    Ok, I understand.

    But it would be a great addition to the plugin I'm sure.
    There's some other plugin around, but I think this one has the best potential (nice designed gui and functionality).

    Here's the plugin I meant before:
    http://www.typeoneerror.com/articles/post/orderly-drag-and-drop-wordpress-ordering

    It's neat with the settings panel and also works with posts. I know that most people won't have use for a drag/drag reordering on posts, but for this current site I'm working with, it's a great addition. It's pretty handy when working with portfolio sites overall. So if you will, please have it in consideration for the future!

  6. Bill Erickson
    Member
    Posted 1 week ago #

    Here's how to make CMS Page Order apply to posts. Drop these in your theme's functions.php (or your core functionality plugin):

    1. Add support for the 'post' post type: https://gist.github.com/2758065

    2. On your archive pages, sort by menu order: https://gist.github.com/2758095

    That second code snippet is limited to your blog page ( is_home() ) and your archives, like tag and category archives( is_archive() ). You can change the conditionals to determine where it applies

Reply

You must log in to post.

About this Plugin

About this Topic