Hi Team, i found in this support blog, that to make a next/previous button with the same category is necessary put this code inside the Child Theme (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;
}
But when i refresh the page this doesn´t work fine.
Could you help me please?
Thanks a lot.
Hey manelroig,
I tested the function on my localhost (clean install) and it worked correctly. Try disabling your plugins. If that resolves the issue, reactivate each one individually until you find the cause. I would think “Simple Custom Post Order” may cause a conflict.
Best regards,
Mike
Thanks a lot,
you’re right because a plugin causes the problem. Now it’s working ok,
Hey!
Glad Mike could help! :)
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 :)
Best regards,
Yigit