![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
-
AuthorPosts
-
September 20, 2016 at 3:26 pm #689325
Hi
when I compose a portfolio item without a slider inside, it automatically proposes arrows to go to previous or next portfolio item when it is published. Even if items are not in the same portfolio category.
Anyone ?
Thanks
September 20, 2016 at 3:27 pm #689327Hey EOPRODFX!
Would you like to disable post nav? If so, please add following code to Functions.php file in Appearance > Editor
add_filter('avia_post_nav_entries','avia_remove_post_nav', 10, 1); function avia_remove_post_nav() { return false; }
Best regards,
YigitSeptember 20, 2016 at 3:42 pm #689344Thanks Yigit
actually I can use your solution, I’ll try
but is this a bug that the post nav proposes item that is not in the same category ??
September 20, 2016 at 3:44 pm #689346By the way, another subject
how can I force a widget menu to be at the bottom of the page when it’s on a mobile ?
Thanks
September 26, 2016 at 5:10 am #691448Hi,
but is this a bug that the post nav proposes item that is not in the same category ??
You can set the post navigation to filter items from the same category. Please add this in the functions.php file:
add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod'); function avia_post_nav_settings_mod($settings) { if(is_singular('portfolio')) { $settings['taxonomy'] = 'portfolio_entries'; $settings['is_fullwidth'] = false; } $settings['same_category'] = true; return $settings; }
For new inquiries, please create a new thread with the url to the site and the login credentials.
Best regards,
IsmaelSeptember 27, 2016 at 5:31 pm #692356Hi Ismael, I try to do the same with the categories of products to WooCommerce will navigate between the products of a single category.
Regards.
Jean-
This reply was modified 7 years, 6 months ago by
freepixelweb.
September 30, 2016 at 3:06 am #693476Hi,
Change code to:
add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod'); function avia_post_nav_settings_mod($settings) { if(is_singular('product')) { $settings['taxonomy'] = 'product_cat'; $settings['is_fullwidth'] = false; } $settings['same_category'] = true; return $settings; }
Best regards,
JosueSeptember 30, 2016 at 8:22 am #693556Hi Josue, it works partially, the navigation arrow disappears to the previous category tab but the tab with the link is always displayed.
Regards..
JeanOctober 1, 2016 at 6:07 am #694147Hi Jean,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
RikardOctober 1, 2016 at 5:07 pm #694234Hi Rikard, ok it’s work fine now, I had forgotten a previous code into your functions.php file, all is well, thank you.
I disabled access …Regards.
JeanOctober 5, 2016 at 4:42 pm #695607Hi,
glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.
Best regards,
Andy -
This reply was modified 7 years, 6 months ago by
-
AuthorPosts
- The topic ‘PORTFOLIO ITEM ISSUE’ is closed to new replies.