-
AuthorPosts
-
February 24, 2017 at 9:21 pm #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
KrzysztofFebruary 24, 2017 at 10:38 pm #751624Hey 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 ShannonFebruary 25, 2017 at 10:41 am #751746Hi 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
KrzysztofMarch 1, 2017 at 12:03 pm #753625Hi,
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,
YigitMarch 1, 2017 at 12:24 pm #753639Hi
Thank you.
I’ve checked and it is doesn’t work
Becase singular is trener I was trying also to change for that codeadd_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?
KrzysztofMarch 1, 2017 at 12:36 pm #753643Hey!
Please add new taxonomy and replace it in following line
$settings['taxonomy'] = 'trenerzy';Best regards,
YigitMarch 1, 2017 at 4:32 pm #753789Hi
I have that taxonomy all items are added to that taxonomy but still nothing is changedMarch 7, 2017 at 2:30 pm #757013 -
AuthorPosts
- You must be logged in to reply to this topic.
