Title: Adding HTML to document head in v2?
Last modified: August 22, 2016

---

# Adding HTML to document head in v2?

 *  Resolved [Caleb Evans](https://wordpress.org/support/users/caleb531/)
 * (@caleb531)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/adding-html-to-in-v2/)
 * Hi,
 * I’ve been a huge fan of WP Maintenance Mode, and just upgraded to version 2.0.
   However, I am disappointed to discover the removal of one essential hook which
   I need for my site—that is, `wm_head`. I need it because I wish to add a `<meta
   >` viewport tag to the page `<head>`, like so:
 * `<meta name='viewport' content='width=device-width,initial-scale=1.0,user-scalable
   =no' />`
 * Obviously, I would very much *not* prefer to modify the plugin itself. Is there
   an available action or filter that allows me to do this? I need to have my maintenance
   page viewable on mobile devices.
 * Thanks,
    Caleb
 * [https://wordpress.org/plugins/wp-maintenance-mode/](https://wordpress.org/plugins/wp-maintenance-mode/)

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

 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/adding-html-to-in-v2/#post-5245868)
 * Hello,
 * A new hook will be available in the next update. Stay close! 🙂
 * Thanks,
    George Jipa
 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/adding-html-to-in-v2/#post-5246047)
 * Hello,
 * Just released 2.0.1. We reintroduced these old actions: `wm_head` and `wm_footer`(
   read [http://wordpress.org/plugins/wp-maintenance-mode/changelog/](http://wordpress.org/plugins/wp-maintenance-mode/changelog/)).
 * Thanks,
    George Jipa
 *  Thread Starter [Caleb Evans](https://wordpress.org/support/users/caleb531/)
 * (@caleb531)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/adding-html-to-in-v2/#post-5246054)
 * Absolutely fantastic. Thanks very much. 🙂
 * -Caleb
 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/adding-html-to-in-v2/#post-5246057)
 * You’re welcome! Maybe you can post a short review about the new version.
 * [http://wordpress.org/support/view/plugin-reviews/wp-maintenance-mode](http://wordpress.org/support/view/plugin-reviews/wp-maintenance-mode)
 * Thanks,
    George Jipa

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

The topic ‘Adding HTML to document head in v2?’ is closed to new replies.

 * ![](https://ps.w.org/wp-maintenance-mode/assets/icon-256x256.gif?rev=3027645)
 * [LightStart - Maintenance Mode, Coming Soon and Landing Page Builder](https://wordpress.org/plugins/wp-maintenance-mode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-maintenance-mode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-maintenance-mode/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-maintenance-mode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-maintenance-mode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-maintenance-mode/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [George J](https://wordpress.org/support/users/georgejipa/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/adding-html-to-in-v2/#post-5246057)
 * Status: resolved