-
AuthorPosts
-
December 7, 2020 at 2:46 pm #1265482
Is there a way to loop the portfolio next and previous arrows? I have set the sorting to descending and there is no next button which looks bad.
December 7, 2020 at 8:23 pm #1265595Hey amyteslin,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
VictoriaDecember 7, 2020 at 10:18 pm #1265623December 8, 2020 at 10:13 pm #1265845Hi Guenni007,
Thank you for pointing it out, I forgot about that one, but yeah, it’s the general loop not within the same category.
Best regards,
VictoriaDecember 8, 2020 at 10:14 pm #1265846perfect!! Thank you!
December 8, 2020 at 11:26 pm #1265875Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan ShannonJanuary 13, 2021 at 8:08 pm #1272256Allthough i did not update to WP 5.6 there is one customer installation that does not loop on same category with known snippets:
neither:add_filter('avf_post_nav_settings','enfold_customization_postnav', 10, 1); function enfold_customization_postnav($settings){ $settings['same_category'] = true; $settings['is_fullwidth'] = false; if( 'post' == $settings['type'] ) { $settings['skip_output'] = false;} if( 'portfolio' == $settings['type'] ) { $settings['skip_output'] = false;} return $settings; }
nor:
function my_avf_post_nav_settings( array $settings ){ if( true === $settings['is_hierarchical'] ){ $settings['skip_output'] = true; return $settings; } if( ! in_array( $settings['type'], array( 'post', 'portfolio' ) ) ){ $settings['skip_output'] = false; return $settings; } $settings['same_category'] = true; $settings['is_fullwidth'] = false; $settings['skip_output'] = false; return $settings; } add_filter( 'avf_post_nav_settings', 'my_avf_post_nav_settings', 10, 1 );
is working. ?
Edit : Sorry now i know why. I installed a Custom Post Order Plugin – and that messed up the loop.
January 15, 2021 at 11:43 am #1272669 -
AuthorPosts
- You must be logged in to reply to this topic.