Support » Theme: Customizr » Fixing Error in Customizer Theme

  • Resolved mycreativetable


    I am definitely not very savvy when it comes to coding (ok quite ignorant to be honest), but I can usually figure things out if the wording is similar to the instructions). So, I went to my c-Panel files and found “customizer/header.php” file. But there is not wording that says “</head>” so I am lost on what to do and don’t want to screw everything up. Could someone please guide me through the steps to do this?

    I have this message:
    Error : Please fix your theme to make plugins work correctly: Go to the Theme Editor and insert <?php wp_head(); ?> just before the </head> line of your theme’s header.php file.

    Here is a copy of what the file has:

    * The Header for Customizr.
    * Displays all of the <head> section and everything up till <div id=”main-wrapper”>
    * @package Customizr
    * @since Customizr 1.0
    <!DOCTYPE html>
    <!–[if IE 7]>
    <html class=”ie ie7″ <?php language_attributes(); ?>>
    <!–[if IE 8]>
    <html class=”ie ie8″ <?php language_attributes(); ?>>
    <!–[if !(IE 7) | !(IE 8) ]><!–>
    <html <?php language_attributes(); ?>>
    //the ‘__before_body’ hook is used by TC_header_main::$instance->tc_head_display()
    do_action( ‘__before_body’ );

    <body <?php body_class(); ?> <?php echo apply_filters(‘tc_body_attributes’ , ‘itemscope itemtype=””‘) ?>>

    <?php do_action( ‘__before_page_wrapper’ ); ?>

    <div id=”tc-page-wrap” class=”<?php echo implode( ” “, apply_filters(‘tc_page_wrap_class’, array() ) ) ?>”>

    <?php do_action( ‘__before_header’ ); ?>

    <header class=”<?php echo implode( ” “, apply_filters(‘tc_header_classes’, array(‘tc-header’ ,’clearfix’, ‘row-fluid’) ) ) ?>” role=”banner”>
    // The ‘__header’ hook is used with the following callback functions (ordered by priorities) :
    //TC_header_main::$instance->tc_logo_title_display(), TC_header_main::$instance->tc_tagline_display(), TC_header_main::$instance->tc_navbar_display()
    do_action( ‘__header’ );
    //This hook is used for the slider : TC_slider::$instance->tc_slider_display()
    do_action ( ‘__after_header’ )

  • The topic ‘Fixing Error in Customizer Theme’ is closed to new replies.