WordPress.org

Ready to get started?Download WordPress

Forums

Ambrosite Next/Previous Post Link Plus
Custom order with "Easy Post Type" (8 posts)

  1. mpmchugh
    Member
    Posted 2 years ago #

    Great plugin. I was wondering if you could support custom ordering by Easy Post Type.

    It has a custom orderly value of "epo_custom" which works in the Loop, but doesn't seem to work with Ambrosite Next/Previous Post Link Plus.

    It'd be nice it it did.

    Thanks,
    Michael

    http://wordpress.org/extend/plugins/ambrosite-nextprevious-post-link-plus/

  2. ambrosite
    Member
    Plugin Author

    Posted 2 years ago #

    Are you talking about this plugin?

    http://www.wpeasyposttypes.com/

    I cannot find anything in the documentation or the code that references an "epo_custom" custom field, however assuming it works the same way as a standard WP custom field, you should be able to make it work by setting the following parameters:

    'order_by' => 'custom'
    'meta_key' => 'epo_custom'

  3. mpmchugh
    Member
    Posted 2 years ago #

  4. ambrosite
    Member
    Plugin Author

    Posted 2 years ago #

    Oh my, I just looked at the code for that plugin. It is creating its own non-standard table in the database to store the epo_custom field. No, my plugin will not work with that at all.

    If you want to reorder your posts, may I suggest this instead? It seems to be the current popular favorite, and my plugin is compatible with it:

    http://wordpress.org/extend/plugins/post-types-order/

  5. mpmchugh
    Member
    Posted 2 years ago #

    Thanks. I'll have a look at switching to that one instead.

    -mpm

  6. ambrosite
    Member
    Plugin Author

    Posted 2 years ago #

    If you use Post Types Order, you'll need to set the following parameter to have the next/previous links appear in the same order:

    'order_by' => 'menu_order'

  7. mpmchugh
    Member
    Posted 2 years ago #

    Got it. Thanks!

    Odd though, it seemed to be working without that.

  8. ambrosite
    Member
    Plugin Author

    Posted 2 years ago #

    Well that's possible, depending on how your posts are ordered. I would only be concerned if it was not working with that parameter.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic