Tagged: 

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

    Hi, I have a problem about portfolio item in Enfold theme. When I’m in specific portfolio item, the left and right side will have a button for navigating to previous or next items but it also can navigate to the items in other category that I don’t want it happen, I want it can navigate to other item in only the same category.
    How can I do or if it cannot, can you suggest some of the solutions?

    First image shows, it can navigate to next item in same category
    Next item ( same category )

    Second image shows, it can navigate to previous item in other category ( I don’t want this )
    previous item ( different category )

    Thank you,
    JT

    • This topic was modified 10 years, 7 months ago by cokeziiz.
    #457971

    Hi Jaturong!

    Please see here, https://kriesi.at/support/topic/avia-post-nav-with-the-same-category/#post-185420.

    Best regards,
    Elliott

    #458033

    I try to follow that solution by put this code

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

    to functions.php but it doesn’t work :(
    My page link : http://www.letscook.com.mm/recipes/

    • This reply was modified 10 years, 7 months ago by cokeziiz.
    #458534

    Hey!

    Please use a child theme and insert the code to functions.php file of your child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/

    Regards,
    Yigit

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