Title: Insert into header.php
Last modified: August 22, 2016

---

# Insert into header.php

 *  Resolved Anonymous User 7501994
 * (@anonymized-7501994)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/insert-into-headerphp/)
 * Hi,
 * The plug-in generates the code after the website is rendered. I like to disable
   the “sticky” feature, and place the whole responsive menu into a sticky bar. 
   For doing that I have to place the responsive menu manually into the header.php.
 * Can I do that somehow?
 * Thx
 * tomy
 * [https://wordpress.org/plugins/responsive-menu/](https://wordpress.org/plugins/responsive-menu/)

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

 *  [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * (@peterfeatherstone)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/insert-into-headerphp/#post-5348210)
 * Hi Tomy,
 * Apologies I have been unavailable for the last 2 weeks.
 * Yes, you can do this in versions 2.1 onwards. Simply tick the “Use as shortcode”
   option and then add the following to your header.php file where you want it to
   appear:
 * `<?php echo do_shortcode( '[responsive-menu'] ); ?>`
 * Please let me know how you get on with this.
 * Many thanks
 * Peter
 *  Thread Starter Anonymous User 7501994
 * (@anonymized-7501994)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/insert-into-headerphp/#post-5348211)
 * Oh, God. Now I feel stupid to forget about do_shortcode… LOL
    But won’t be the
   navigation duplicated that way?
 *  [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * (@peterfeatherstone)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/insert-into-headerphp/#post-5348212)
 * Hi ftomy,
 * Not a problem, these things happen!
 * The menu will have the same settings as if you weren’t using a shortcode, and
   ticking the option in the admin will ensure that the plugin options only get 
   included once.
 * Please let me know if you get any strange behaviour with this however as the 
   shortcode functionality is still in it’s infancy.
 * Many thanks
 * Peter

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

The topic ‘Insert into header.php’ is closed to new replies.

 * ![](https://ps.w.org/responsive-menu/assets/icon-256x256.png?rev=1782326)
 * [Responsive Menu - Create Mobile-Friendly Menu](https://wordpress.org/plugins/responsive-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-menu/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [peterfeatherstone](https://wordpress.org/support/users/peterfeatherstone/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/insert-into-headerphp/#post-5348212)
 * Status: resolved