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

    Hi I have the same problem like here: https://kriesi.at/support/topic/previousnext-buttons-on-portfolio-items-restrict-to-1-category/

    I have the Portfolio Items in a Masonry and when I click on one Portfolio Item in the Masonry it opens the Item on a new page and shows previous/next buttons on the left and the right side of the browser window. Unfortunately it is not restricted to the current Portfolio Item Category. How can I restrict it to the current Category?

    Is there any solution available now?

    Thank you!
    Riccardo

    #847760

    Hey Riccardo,

    Please add 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

    #848885

    Hi Yigit, that worked. Thank you very much!

    #849064

    Hi,

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Again: Previous/Next buttons on Portfolio Items restrict to 1 category?’ is closed to new replies.