• Need to display Next/prev post link. There are some code in your templates for that, but it doesn`t work.
    I`ve add this code (without html markup):

    <?php previous_post_link('%link','-'); ?>
    <?php next_post_link('%link','-'); ?>

    The problem is i cant set parameters to this functions (i need to show only post in same category), when i`m trying to set something else, everything dissapears.

    https://www.ads-software.com/plugins/goods-catalog/

    Please contact me [email protected]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Irina Sokolovskaja

    (@oriolo)

    Hello,
    I think it happens because you didn’t add the taxonomy to the function (by default if ties to get posts from the taxonomy “category”, but the plugin uses “goods_category”).
    Please try this:
    <?php next_post_link( '%link', 'Next product in category', TRUE, ' ', 'goods_category' ); ?>

    Thread Starter iBasher

    (@ibasher)

    Strange behavior … Now it works, but after a couple of posts arrows disappear again, although in this subcategory more posts …


    By the way, if it helps, I changed the order in which the posts that came out in alphabetical order.

    Thread Starter iBasher

    (@ibasher)

    I changed the order in Grid, next/prev navigation is still random
    UPD: looks like navigation order depends on time… Can we change it to alphabet?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Next/prev post in same category’ is closed to new replies.