Support » Plugin: Ambrosite Next/Previous Post Link Plus » [Plugin: Ambrosite Next/Previous Post Link Plus] Custom order with "Easy Post Type"
5 years, 5 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.
Are you talking about this plugin?
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’
Thanks, I’ll try that, but no, it’s this plugin:
Easy Post Order
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:
Thanks. I’ll have a look at switching to that one instead.
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’
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.