Dear experts.
There are the buttons left and right to jump to the next or previous article (shown on blog articles).
I want to get rid of this. I did not found any option to control it.
Please give me a hint on this.
Hi @gemac-fieldbus ;
This topic “Remove Post Navigation for a post type” from Enfold Documentation may help you
Thank you!
I guess this might work perfect with portfolio items.
I could figure out that I have to modify this to the following:
function no_post_nav($entries)
{
if(get_post_type() == 'post') $entries = array();
return $entries;
}
add_filter('avia_post_nav_entries','no_post_nav');
wich works fine.
Thank you very much!
Hey!
Glad @begrafiks could help! Let us know if you have any other questions or issues :)
@begrafiks, thank you sir! :)
Edit: Misread it :)
Please add following code to Functions.php file in Appearance > Editor
function no_post_nav($entries)
{
return false;
}
add_filter('avia_post_nav_entries','no_post_nav');
Best regards,
Yigit
Hey Yigit,
your code cuts out the navigation but brings up this error
Warning: Invalid argument supplied for foreach() in /www/htdocs/w0148105/gemac-fieldbus.com/wp-content/themes/enfold/functions-enfold.php on line 406
I tried it the way metioned above and this works.
Hi,
Please confirm if this is working for you now?
Let us know if you have any questions.
Best regards,
Vinay
Yes Vinay, it is working now.
thank you for your professional help!
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 :)
Regards,
Yigit