Site logo

[Resolved] Advanced Post Types Order not (fully) compatible?

Home Forums Support [Resolved] Advanced Post Types Order not (fully) compatible?

Home Forums Support Advanced Post Types Order not (fully) compatible?

  • This topic has 4 replies, 2 voices, and was last updated 5 years ago by David.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1691551
    Sjoerd

    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?

    #1692255
    Sjoerd

    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.

    #1692451
    David
    Staff
    Customer Support

    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.

    #1695439
    Sjoerd

    Thanks David!

    #1695564
    David
    Staff
    Customer Support

    You’re welcome

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.