i used this code,
it seems to be not working
Hey hamzahmauzam,
Please add following code to Functions.php file in Appearance > Editor
add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod');
function avia_post_nav_settings_mod($settings)
{
if(is_singular('portfolio')) {
$settings['taxonomy'] = 'portfolio_entries';
$settings['is_fullwidth'] = false;
}
$settings['same_category'] = true;
return $settings;
}
Best regards,
Yigit