Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #746671

    Hi Enfold Support,

    i have a website with custom post type made by CTP UI.

    How can i add the back/forward arrows used on normal post type, portfolio post type and event post type? Is there a function for the child theme?

    Thank´s for your help!

    #746677
    #746890

    Hi Yigit,

    thanks for your quick anwer – but it´s not working on my site – maybe there is a failure in the code?

    add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod');
    function avia_post_nav_settings_mod($settings)
    {
      if(is_singular('hausprojekt')) {
        $settings['taxonomy'] = 'hausprojekte';
    	$settings['is_fullwidth'] = false;
      }
    	$settings['same_category'] = true;
    	return $settings;
    }

    Thank´s for your help!

    • This reply was modified 7 years, 2 months ago by Tobias.
    #746942

    Hey!

    I changed the code to following one

    add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod');
    function avia_post_nav_settings_mod($settings)
    {
      if(is_singular('hausprojekte')) {
            $settings['taxonomy'] = 'projekt_kategorien';
    	$settings['is_fullwidth'] = false;
      }
      $settings['same_category'] = true;
      return $settings;
    }

    Can you please de-activate all active plugins, flush cache and check if that helps?

    Cheers!
    Yigit

    #747143

    Hm..

    Thank´s for your help. I deactivate all plugins but it´s not working …

    Tobias

    #748039

    Hi,

    I think it is related to a customization. If you do not mind me asking, why do not you use portfolio post type instead?

    Best regards,
    Yigit

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