Hey there,
I am using portfolio entries, and normally there are navigation elements on the left and right side of each portfolio, so you can scroll through the pages. They have been there, I mean. Suddenly they’re gone, and I don’t know why. I’ve turned off plugins, disabled all custom CSS – no way to bring them up on screen again. Would you have a look please?
Thank you in advance!
Hi tribaleye13,
Can you try adding this code at the bottom of your child theme’s functions.php file:
function enfold_post_nav_settings($settings) {
if(is_singular('portfolio')) {
$settings['is_fullwidth'] = false;
$settings['skip_output'] = false;
}
return $settings;
}
add_filter('avf_post_nav_settings','enfold_post_nav_settings', 999, 1);
Best regards,
Nikko
Hey Nikko,
your code works, navigation in portfolio items is back again, thank you!
Could you shortly explain why it has been deactivated?
Best regards!
Hi tribaleye13,
You’re welcome :)
I believe there are some elements that may have caused to change some of the values (posted in the code) which prevents the required condition for the portfolio navigation to run.
Basically, the code above just make sure that the conditions to run the portfolio navigation is met.
Best regards,
Nikko