-
AuthorPosts
-
December 12, 2018 at 9:10 pm #1044490
I have two categories within my Portfolio Items: “Trailers” and “Shorts”
problem I am having is this: when I am on the first item within “Trailers” and I click the right sided gray button, I advance to the first item within “Shorts”
here is the page in trailers
if you click right side gray button you go to this page which is a “Short”
how can I make it so that those buttons to stay within their category?
December 18, 2018 at 2:35 pm #1046877Hey scientistsofmedia,
Thank you for using Enfold.
In functions.php of your child theme (or parent theme) add the following:
add_filter( 'avia_post_nav_settings', 'my_avia_post_nav_settings', 10, 1 ); function my_avia_post_nav_settings( $settings ) { if( $settings['type'] == 'portfolio' ) { $settings['same_category'] = true; } return $settings; }Do not forget to make a backup of the original file for a fallback.
Best regards,
GünterDecember 18, 2018 at 7:29 pm #1046991thank you so much. That worked!!
one more question for you. currently when clicking through the portfolio items, you click the grey button on the left to advance to the next portfolio item and the right button to go backwards. is it possible to switch it so that you click the grey button on the right to advance to the next item, the left to go backwards?
December 22, 2018 at 6:59 pm #1048593Hi scientistsofmedia,
Here is a thread for you to consider
https://kriesi.at/support/topic/next-and-previous-post-navigation-is-in-reversed-order/If you need further assistance please let us know.
Best regards,
VictoriaDecember 22, 2018 at 7:53 pm #1048605that worked. thank you so much!!!
December 22, 2018 at 9:19 pm #1048648Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Don’t forget to bookmark Enfold Documentation for future reference.Thank you for using Enfold :)
Best regards,
Vinay -
AuthorPosts
- The topic ‘keep portfilio items seperate’ is closed to new replies.
