Forums
Home / Fixing WordPress / scoping – menus and subpages
(@hafman)
13 years, 9 months ago
Hello, I’m using a conditional argument to place a menu on the page, it works for level 1 and 2 but breaks in 3
elseif ( is_page('publications') || $post->post_parent == '33' ) { $lower = 'red'; $icon_right = 'publications'; $lower_menu = 'publications'; }
How do make this load the same menu for all levels?