highlight menu when child is custom post type
-
I do have a meniu from pages with custom templates. Each of them has a
$args = array( 'post_type' => 'portfolio', 'paged' => $paged, 'portfolio-category' => 'woman', 'posts_per_page' => esc_html($portfolio_number) ); $portfolio_query = new WP_Query($args);
Maybe I’m doing something wrong with my hierarchy, but how can I highlight the menu item when somebody views it’s custom post type by category?
I’ve googled and tried few functions, but none of them worked..
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘highlight menu when child is custom post type’ is closed to new replies.