Title: Shortcode
Last modified: August 30, 2016

---

# Shortcode

 *  Resolved [Sandy](https://wordpress.org/support/users/sandylilogiccoza/)
 * (@sandylilogiccoza)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/shortcode-336/)
 * Hi,
 * What is the shortcode to add the menu in my theme?
    I do not see it anywhere 
   in documentation.
 * Thank you.
    Kind regards.
 * [https://wordpress.org/plugins/all-in-menu/](https://wordpress.org/plugins/all-in-menu/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [cookforweb](https://wordpress.org/support/users/cookforweb/)
 * (@cookforweb)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/shortcode-336/#post-6547265)
 * Hi,
 * The shortcode is [menu_dash id=”your-menu-id”]
 * If your plugin is on 1.0.1 version your can see it in menu list.
 * Best Regards,
 *  [ErickD](https://wordpress.org/support/users/erickd/)
 * (@erickd)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/shortcode-336/#post-6547277)
 * I was facing the same problem 🙂
    But now I have two questions.
 * (1) How to add the shortcode into the header.php template file? (Or do I need
   another code for that?)
 * (2) I want the menu visible in all devices, like it is in the demo ([Demo link](http://allinmenu.cookforweb.com)).
   How do I have to do that?
 *  Plugin Author [cookforweb](https://wordpress.org/support/users/cookforweb/)
 * (@cookforweb)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/shortcode-336/#post-6547278)
 * Hi ErickD,
 * From the core functionality of wordpress you submit the following line wherever
   you want:
    <?php echo do_shortcode( ‘[menu_dash id=”your-menu-id”]’ ) ?>
 * Reference: [https://developer.wordpress.org/reference/functions/do_shortcode/](https://developer.wordpress.org/reference/functions/do_shortcode/)
 * As far as the menu visibility is concerned it is supposed that is visible in 
   all devices. The extra option you have is to make it sticky on desktop screens(
   > 780px )
 * Best Regards,
 *  [ErickD](https://wordpress.org/support/users/erickd/)
 * (@erickd)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/shortcode-336/#post-6547279)
 * Thanks for your quick reply (and the nice plugin ofcourse! I’m going to work 
   on it 🙂
 *  Plugin Author [cookforweb](https://wordpress.org/support/users/cookforweb/)
 * (@cookforweb)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/shortcode-336/#post-6547298)
 * Topic resolved
 *  [9art](https://wordpress.org/support/users/9art/)
 * (@9art)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/shortcode-336/#post-6547316)
 * I know this has been resolved, i fell in love with your plugin. But i do not 
   know where to add the shortcode to (i am more of a designer).
 * Please any pointers.
 * Regards
 *  Plugin Author [cookforweb](https://wordpress.org/support/users/cookforweb/)
 * (@cookforweb)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/shortcode-336/#post-6547317)
 * Hello 9art,
 * It s great you loved the plugin. You can add the short code in the header.php
   file in the position you like (it depends from the theme). Maybe you can add 
   it after logo image. You can make tests to see how it fits. The code you must
   add is <?php echo do_shortcode(‘[menu_dash I’d=”YOUR_ID”]’); ?>
 * Regards

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-menu_c995a6.svg)
 * [All In Menu - Header menu creator](https://wordpress.org/plugins/all-in-menu/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-menu/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [cookforweb](https://wordpress.org/support/users/cookforweb/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/shortcode-336/#post-6547317)
 * Status: resolved