Tagged: post navigation
Yigit had shared this code snippet for limiting post navigation within a post category, but it is not fully working. It will only navigate the first 3 posts within the category. Please advise. Thanks!
add_filter(‘avia_post_nav_settings’,’avia_same_category_filter’, 10, 1);
$settings[‘same_category’] = true;
I think that should be working. Double check your posts to make sure they are all assigned to the same category and send us a link so we can take a look. Also be sure to deactivate all plugins while testing.
You must be logged in to reply to this topic.