Hi,
I’m still annoyed with this behaviour of the portfolio.
See post https://kriesi.at/support/topic/portfolio-items-create-blog-parent-as-active-ancestorparent
I’d like to keep my parent page of the portfolio activated. Now When you are in a portfolio post it displays the blog as ancestor.
Please, is their any way to (hard code) so I can say, as soon as a portfolio item is clicked, make this menu ID item as ancestor/active, current, parent…whatever works. Because now my Blog menu becomes highlighted when I’m in a portfolio item, which doesnt make sense at all.
Thanks a lot in advance!
Ok,
I have found a way around it. Instead of using a page, I added a parent category for all portfolio-items as menu item.
That way I get the archive page and when going to a detail you get a class .current-portfolio-ancestor which can be added to the current menu item styles.
The filtering you can activate by setting ‘sort’ => ‘yes’ in taxonomy-portflio_entries.
Cheers