Custom post type search results nav-menu not showing
-
Hello, I’ve added a custom post type called ‘artworks’ to my site and added a hidden field to a search form so it would only display results from my custom post type.
Now when I search I get the correct results but for some reason the 2 wp-nav-menu’s I am using are not displaying anymore.
Also I noticed the bodyclass of my theme is different when searching within my custom post type: Normally it’s
search search-results logged-in admin-bar
and now it’sarchive search post-type-archive post-type-archive-kunstwerk logged-in admin-bar
.Does anyone know what is going on? Thanks in advance!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom post type search results nav-menu not showing’ is closed to new replies.