Warning: Undefined array key "title" in /home/u593943216/domains/wp-experts.in/public_html/secure_content/themes/wp-experts/inc/classes/class-hooks.php on line 151
Hello Everyone! if you are planing to add your custom menu from anywhere in post,then add this code in your theme function file. /* Custom code for call menu any where [menu name="Site-Map"]*/ function print_menu_shortcode($atts, $content = null) { extract(shortcode_atts(array( 'name' => null, ), $atts)); return wp_nav_menu( array( 'menu' => $name, 'echo' => false )