Hi,
I have two questions.
1. I was wondering if there was a way to remove the previous/next navigation links. With a video within the portfolio it is confusing what to click on.
2. Can you remove the navigation from the portfolio on only certain portfolio categories?
Thanks
Hey lflask!
Please see – http://kriesi.at/documentation/enfold/remove-post-navigation-for-a-post-type/
Best regards,
Yigit
Thanks Yigit –
I had found that but it isn’t working for me. I could be doing something wrong.
I have put this in the functions.php file at the end.
function no_post_nav($entries)
{
if(get_post_type() == ‘portfolio’) $entries = array();
return $entries;
}
add_filter(‘avia_post_nav_entries’,’no_post_nav’);
My portfolio category is called Projects. so should this be
/*
function no_post_nav($entries)
{
if(get_post_type(Projects) == ‘portfolio’) $entries = array();
return $entries;
}
add_filter(‘avia_post_nav_entries’,’no_post_nav’);
/*
Duh – never mind – I had it commented out. Thanks!