Tagged: portfolio grid, side navigation
HI
I just noticed the side navigation on my portfolios is missing.
I’m not sure we’re going to use it but it was there before – I don’t have any css hiding it and can’t find any other settings.
Can you see what’s going on?
Thanks
Nancy
Hey Munford,
Thank you for the inquiry.
Are you referring to the post navigation? Please note that this navigation will not display if there are fullwidth elements such as a Slider or Color Section in the page. To change this, you can add this code in the functions.php file:
function avf_post_nav_settings_mod($settings){
$settings['is_fullwidth'] = false;
$settings['skip_output'] = false;
return $settings;
}
add_filter('avf_post_nav_settings','avf_post_nav_settings_mod', 10, 1);
Best regards,
Ismael
OK but that actually made all my pages have post navigation, not just the portfolio items.
Hi,
We adjusted the filter a bit. Please try it again:
function avf_post_nav_settings_mod($settings) {
if (is_singular('portfolio')) {
$settings['is_fullwidth'] = false;
$settings['skip_output'] = false;
}
return $settings;
}
add_filter('avf_post_nav_settings', 'avf_post_nav_settings_mod', 10, 1);
Best regards,
Ismael