Support » Theme: Responsive » HEAD element empty

  • Resolved Missweblash


    Noticed that all the stuff that should be added to the HEAD is actually being added to the BODY element, with the HEAD element completely empty.

    Anyone else getting this problem?

Viewing 9 replies - 1 through 9 (of 9 total)
  • That’s NOT in the original Responsive theme files. What have you modified? Or what plugins are you using?

    A link to your site would be relevant.

    1) I haven’t changed anything – it’s a clean install
    2) My site isn’t online yet.
    3) I’m using a variety of plugins, but have deactivated all of them and the empty <head> tag problem persists.

    Moderator Andrew Nevins


    Forum moderator

    Where did you get that theme from?

    Perhaps compare your header.php file to this brand new (partial) download:

    // Exit if accessed directly
    if ( !defined('ABSPATH')) exit;
     * Header Template
     * @file           header.php
     * @package        Responsive
     * @author         Emil Uzelac
     * @copyright      2003 - 2013 ThemeID
     * @license        license.txt
     * @version        Release: 1.3
     * @filesource     wp-content/themes/responsive/header.php
     * @link 
     * @since          available since Release 1.0
    <!doctype html>
    <!--[if !IE]>      <html class="no-js non-ie" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 7 ]>    <html class="no-js ie7" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 8 ]>    <html class="no-js ie8" <?php language_attributes(); ?>> <![endif]-->
    <!--[if IE 9 ]>    <html class="no-js ie9" <?php language_attributes(); ?>> <![endif]-->
    <!--[if gt IE 9]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
    <meta charset="<?php bloginfo('charset'); ?>" />
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
    <title><?php wp_title('|', true, 'right'); ?></title>
    <link rel="profile" href="" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_enqueue_style('responsive-style', get_stylesheet_uri(), false, '');?>
    <?php wp_head(); ?>

    Holy moly, this has been painful to debug!

    Turned out to be an issue with an SEO plugin which had been working perfectly on all my themes up until a recent update.

    Have notified them of the fact it’s injecting invalid markup. Tut tut!

    Thanks for your help anyways 😀

    I meant to add, that the SEO plugin in question was persisting even after de-activation, I’m not sure why that would be and I’ve never encountered that before. Should I report that to WP themselves?

    Try resetting the plugins folder – change the name on the plugins folder to “pluginsHOLD” for a minute or two.

    Thanks for that tip 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘HEAD element empty’ is closed to new replies.