If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I’m still annoyed with this behaviour of the portfolio.
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!
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.
The topic ‘Portfolio items create blog parent as active ancestor/parent’ is closed to new replies.