if( 142 == $post->post_parent || is_tree(142)){
if (($locations = get_nav_menu_locations()) && isset($locations['chamber'])){
$menu = wp_get_nav_menu_object($locations['chamber']);
- $membersOnly = true;
}
}
if(is_page(137) || 137 == $post->post_parent || is_tree(137)){
if (($locations = get_nav_menu_locations()) && isset($locations['members-only'])) {
$menu = wp_get_nav_menu_object($locations['members-only']);
}
+ $membersOnly = true;
}
// if (($locations = get_nav_menu_locations()) && isset($locations['chamber'])) {