Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #760581

    i used this code,

    it seems to be not working

    • This topic was modified 7 years, 9 months ago by hamzahmauzam.
    #761480

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.