Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #545029

    Hi again! :)
    Im building a catalogue with woocommerce,
    when u are in the single product page If you hover your mouse pointer to the left or right of the screen there is an animated prev/next post arrow.
    They point to previous or next posts, in that case product. How can i limit that navigation to a single category?
    I already tried with this code but nothing happens:

    add_filter(‘avia_post_nav_categories’, ‘use_same_category_filter’);
    function use_same_category_filter($same_category)
    {
    $same_category = true;
    return $same_category;
    }

    Could you help me to solve my problem?
    Thank u in advance!
    Filippo

    #545439

    Hi frenchfries!

    I think that should be working. Please update WordPress to the latest version and let us know when your done.

    Also, it’s unrelated but you need to update Enfold to 3.4.4.

    Cheers!
    Elliott

    #545546

    thank you! i will upgrade all and il i will say if it’s working.

    #545725

    Hi,

    Great, please let us know if you should have any more problems after updating.

    Thanks,
    Rikard

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