WordPress.org

Ready to get started?Download WordPress

Forums

Post Types Order
"Next Post" link doesn't reflect re-ordered posts (2 posts)

  1. Jase
    Member
    Posted 7 months ago #

    Hello,

    I've installed the plugin (it's great, thank you!) and the reordering is working fine. However, in my project pages I have a "prev post" and "next post" navigation, these do not reflect the reordered posts. Can you advise me on what can be done to fix this please?

    I am using the following code for the post navigation:

    <span class="prev-arrow" title="Previous project">
       <?php next_post_link('%link', __('←')); ?>
    </span>
    
    <span class="next-arrow" title="Next project">
       <?php previous_post_link('%link', __('→')); ?>
    </span>

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

  2. nsp-code
    Member
    Plugin Author

    Posted 7 months ago #

    The free plugin use the default WordPress next_post_link() and previous_post_link() functionality which is not very flexible and such issues can occur in certain circumstances. Possible you may want to check with http://www.nsp-code.com/advanced-post-types-order-api/previous-post-link/ and http://www.nsp-code.com/advanced-post-types-order-api/next-post-link/ which are included in the advanced version

Reply

You must log in to post.

About this Plugin

About this Topic