Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #628018

    Hi. I would like to use several portfolios on my site and show entries from certain categories in each one. However, when navigating thru entries using the right/left arrows, this causes all entries to be displayed (in chronological sequence) not only the ones in that category. Is there a way to only show desired entries from a particular category when scrolling thru the arrows? thanks. I found a previous thread on this issue, tried the functions.php that was suggested, but it did not work. Please advise, thanks!

    #629180

    Hey AirstreamCoach,

    Have you tried adding following code to Functions.php file in Appearance > Editor?

    add_filter('avia_post_nav_settings','avia_same_category_filter', 10, 1);
    function avia_same_category_filter($settings)
    {
    $settings['same_category'] = true;
    return $settings;
    }

    Best regards,
    Yigit

    #629334

    Yigit, I just ran a test with this code – it works perfectly! Thank you so much!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Portfolio Navigation Arrows & Categories’ is closed to new replies.