/** * Custom Menu Shortcode */ function custom_menu_shortcode($atts) { extract(shortcode_atts(array( 'name' => null, ), $atts)); return wp_nav_menu( array( 'menu' => 'member-dashboard', 'echo' => false, 'menu_class' => 'member-dashboard-menu' ) ); } add_shortcode('menu', 'custom_menu_shortcode'); The Silent Cry http://domaind51731.stackstaging.com The Silent Cry Mon, 21 Aug 2017 11:15:12 +0000 en-GB hourly 1 https://wordpress.org/?v=4.9.4