Site logo

Archived topic

Advanced Post Types Order not (fully) compatible?

4 replies · Started by Sjoerd on March 11, 2021

Viewing posts 1–5 of 5

Ordered my posts with advanced post types order plugin, but the prev/next post navigation from GP on a single post does not follow the new alphabetical order(looks like they keep being based on id).

Is there a solution for this? Maybe a checkbox, drop-down or filter/template adjustment?
Or someone knows a complete different way of ordering the posts per category alphabetically?

Found that there is a checkbox within the plugin, but it is still not working properly.

Got these links from NSP code helpdesk:
https://www.nsp-code.com/advanced-post-types-order-api/previous-post-link/
https://www.nsp-code.com/advanced-post-types-order-api/next-post-link/
https://www.nsp-code.com/advanced-post-types-order-api/get-adjacent-post/

Maybe better if GP will use next_post_type_link instead of next_post_link?
Or is there a reason not?
I'll edit the template file to see if it works.

Hi there,

that function ie. next_post_type_link looks to be a part of that plugin - not a core WP function. You can always disable the GP post nav in the Customizer > Layout > Blog settings and hook in your own NSP function.

Thanks David!

You're welcome

This archived topic is closed to new replies.