Title: Adding wp_head to header.php?
Last modified: August 21, 2016

---

# Adding wp_head to header.php?

 *  [andyblackburn](https://wordpress.org/support/users/andyblackburn/)
 * (@andyblackburn)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/adding-wp_head-to/)
 * I am using the Headspace SEO plugin, but I’m seeing this error on the configuration
   page:
 * “There are some issues with your theme that may prevent HeadSpace functioning
   correctly.
 * wp_head was not found in header.php”
 * I’ve looked into header.php and I can see that there is a function that is meant
   to call the <head></head> section into the page:
 * `<?php do_action( '__before_body' ); ?>`
 * But I can’t find where to edit it?

Viewing 1 replies (of 1 total)

 *  Theme Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/adding-wp_head-to/#post-4270325)
 * Hi,
    The plugin uses the wp_head hook to add code/metas/title. The wp_head hook
   is added by a hook in the theme, therefore you should’t have to add it manually
   once again. Hope this will help, cheers

Viewing 1 replies (of 1 total)

The topic ‘Adding wp_head to header.php?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/customizr/4.4.24/screenshot.png)
 * Customizr
 * [Support Threads](https://wordpress.org/support/theme/customizr/)
 * [Active Topics](https://wordpress.org/support/theme/customizr/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/customizr/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/customizr/reviews/)

## Tags

 * [header.php](https://wordpress.org/support/topic-tag/header-php/)
 * [wp_head](https://wordpress.org/support/topic-tag/wp_head/)

 * 1 reply
 * 2 participants
 * Last reply from: [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/adding-wp_head-to/#post-4270325)
 * Status: not resolved