Support » Fixing WordPress » scoping – menus and subpages

  • 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?

  • The topic ‘scoping – menus and subpages’ is closed to new replies.