• Hi
    Im new to using wordpress and ive read lots of ‘how to add google webmaster verification’ on the forum and online but i just can’t see where it goes so any help would be much appreciated! Im using customizr if that helps. Here is the code from header php:

    <?php
    /**
    * 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(); ?>>
    <![endif]–>
    <!–[if IE 8]>
    <html class=”ie ie8″ <?php language_attributes(); ?>>
    <![endif]–>
    <!–[if !(IE 7) | !(IE 8) ]><!–>
    <html <?php language_attributes(); ?>>
    <!–<![endif]–>

    <?php
    //the ‘__before_body’ hook is used by TC_header_main::$instance->tc_head_display()
    do_action( ‘__before_body’ );
    ?>

    <body <?php body_class(); ?> <?php echo tc__f(‘tc_body_attributes’ , ‘itemscope itemtype=”http://schema.org/WebPage”&#8216;) ?>>

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

    <header class=”<?php echo tc__f(‘tc_header_classes’, ‘tc-header clearfix row-fluid’) ?>” role=”banner”>

    <?php
    //the ‘__header’ hook is used by (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’ );
    ?>

    </header>

    <?php
    //This hook is filtered with the slider : TC_slider::$instance->tc_slider_display()
    do_action ( ‘__after_header’ )
    ?>

Viewing 1 replies (of 1 total)
  • Instead of modifying the header.php directly in the template I would recommend the use of a plugin.

    This is because if you change the file directly you will find your changes disappearing if the theme changes.

    So onto plugins. If you do a search of the plugins on here for google webmaster verification you will see a number of plugins come up. One that appeared to do the job you require was http://wordpress.org/plugins/verify-google-webmaster-tools. However I have not used it so cannot recommend it.

    So you might want to look at other plugins in the search results as well.

    Follow the instructions on the plugin page on how to install the plugin, and how to use the plugin you choose.

    good luck 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Google webmaster verification’ is closed to new replies.