Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #751600

    Hi
    I really like left right arrows with short description which allow jump to next post.
    Please find screenshot here
    Can I add that viewer to custom post type?
    Thank you in advanced
    Krzysztof

    #751624

    Hey Krzysztof,

    If you have posts within the same categories, that feature should automatically be applied by default. Please provide admin info so that I may look into this further if it is not.

    Best regards,
    Jordan Shannon

    #751746

    Hi Jordan
    Thank you for quick answer
    I create two item in custom post and add it into one category and this future doesn’t work.
    Please find admin access in private
    BR
    Krzysztof

    #753625

    Hi,

    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('trenerzy')) {
            $settings['taxonomy'] = 'trenerzy';
    	$settings['is_fullwidth'] = false;
      }
      $settings['same_category'] = true;
      return $settings;
    }

    Best regards,
    Yigit

    #753639

    Hi
    Thank you.
    I’ve checked and it is doesn’t work
    Becase singular is trener I was trying also to change for that code

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

    but it is also doesn’t work
    Can you check again?
    Krzysztof

    #753643

    Hey!

    Please add new taxonomy and replace it in following line

    $settings['taxonomy'] = 'trenerzy';

    Best regards,
    Yigit

    #753789

    Hi
    I have that taxonomy all items are added to that taxonomy but still nothing is changed

    #757013

    Hi,

    Sorry for the late reply!
    I am not really sure why it does not work. I asked my teammates to check the thread. Please kindly wait to hear from them.

    Best regards,
    Yigit

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