gera3d
6/2/2016 - 4:11 PM

Instructions Second Language - Rules

Instructions Second Language - Rules

// Add Sidebar with Menu just for this page type / If Instructions Second Language is in place then add that menu if not add Instructions
add_action( 'genesis_before_sidebar_widget_area', 'nuvo_add_custom_menu' );
function nuvo_add_custom_menu () {
	echo '<div class="spacer10"></div><div class="widget-wrap col-xs-6 col-md-12">';
	if ( is_nav_menu( 'Instructions Second Language' ) ) {
    	wp_nav_menu( array('menu' => 'Instructions Second Language' ));
	} else {
		wp_nav_menu( array('menu' => 'Instructions' ));
	}
	echo '</div>';
}