-
AuthorPosts
-
February 9, 2015 at 6:46 pm #393214
Hi Guys,
Me again! Using again your amazing template for a new client.
I’m using the portfolio to display different items like article from press but also collections of clothes.
I’ve set up my portfolio items with different categories :
category 1
item 1
item 2
…
Category 2
item 1
item 2
…On my page “press” i display a grid of “press” items (category 1) which display all the portfolio items of the category 1. Perfect. I click on 1 item, I arrive on the portfolio page (not using the ajax way, just the normal one). Then I can use the controllers on right or left to go to another item.
My problem is with the controllers I don’t only display the items of the category but all items from all categories.
Displaying the clothes items when someone click on press is not what I want ;o)is there a way to display only the items of each category, not all items?
Not sure my explanation are clear ;o)
Thanks guys!
February 10, 2015 at 9:33 am #393564Hey eldrico!
Thank you for using Enfold.
You can add this on functions.php to filter the same category:
add_filter( 'avia_post_nav_settings', 'enfold_customization_same_cat' ); function enfold_customization_same_cat( $s ) { $s['same_category'] = true; return $s; }
Regards,
IsmaelFebruary 18, 2015 at 7:26 pm #398402Thanks Ismael,
I’ll check that. Sorry I didn’t recieve the automatic reply… weird.
I’ll let you know if it works!
Cheers!
Eldrico ;o)
February 19, 2015 at 6:32 am #398660July 12, 2015 at 8:15 pm #472075Sorry guys for the delay, I was working on other projects in the same time.
I’ve just check and it works perfectly! Many thanks to you guys for your help and for being so fast in your help!
Optional question: any way to restart the loop when I reach the last portfolio.
After last portfolio, instead of nothing, is it possible to have the first portfolio item of the category?Thanks again guys and you can close to topic (with an answer or not to the optional question).
EldricoJuly 13, 2015 at 4:56 pm #472556Hey!
It would take a lot of time and code to complete and would have to be considered custom work. It would be best to hire a freelancer to help you out with this customization or you could create a feature request here, https://kriesi.at/support/enfold-feature-requests/, and if it gets enough interest then we may see an option get added in a future update.
Best regards,
ElliottDecember 3, 2015 at 4:59 pm #546505Hi Elliott,
You can close this topic if you want.
Thanks,
Eldrico
-
AuthorPosts
- The topic ‘Portfolio Categories’ is closed to new replies.