How can i get a "current page parent" ancestor for a custom post type?
In design > menus i use the archive page of this custom post type but on the single pages the page parent is not highlighted. There is no current page parent css selector.
You need to add a sub-menu SONNTAGSMEDITATION of the parent menu Veranstaltungen to use the feature "current parent page" for the menu items of WordPress. Screenshot https://share.getcloudapp.com/p9ukYND8
Hi, thats not a useful solution, because the events in that category change and you do not want to change the menu every time. In WordPress posts current page parent is highlighted why not in metabox custom post types? Within a category you should be able to view a post and the parent category is highlighted as current page or current category parent.
WordPress does not support highlight the menu archive page for the custom post type. I've searched and found a script code that helps you to highlight it. Find it here https://gist.github.com/gerbenvandijk/5253921