mpmchugh
Member
Posted 8 months 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/
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'
mpmchugh
Member
Posted 8 months 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/
mpmchugh
Member
Posted 8 months ago #
Thanks. I'll have a look at switching to that one instead.
-mpm
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'
mpmchugh
Member
Posted 8 months ago #
Got it. Thanks!
Odd though, it seemed to be working without that.
Well that's possible, depending on how your posts are ordered. I would only be concerned if it was not working with that parameter.