Hi,
I don’t know how to call it right in English, but the small sliders at the left and right of the screen, when I’m at a single portfolio-item page, are showing resp. let me click through ALL of my portfolio-items.
I, however, would like to show with these sliders only those items of the same portfolio category of the portfolio item, that is currently open.
If this is NOT possible, how can I de-activate these “sliders” left and right at the screen?
Thanks.
Hi!
Please refer to this topic:
https://kriesi.at/support/topic/limit-portfolio-navigation-to-a-single-category-in-single-item-view/
Best regards,
Josue
thanks, but it does not work for me – it shows me still in the sliding button navigation on the left of the screen a portfolio item, that is definitely not in the same category, as the item post, that I have currently open.
Note: my site is in maintenance mode and cannot be viewed online; and yes, I have the latest ENFOLD update.
Hey!
You can add this on functions.php:
add_filter('avia_post_nav_settings','avia_same_category_filter', 10, 1);
function avia_same_category_filter($settings)
{
$settings['same_category'] = true;
return $settings;
}
Cheers!
Ismael
thank you, Ismael, that code works right; the part of code mentioned in the link above,however, not.