WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Where should I insert verification code in header? (3 posts)

  1. pushkin
    Member
    Posted 2 years ago #

    I have to put advertising verification code into the 'header' of my site. I'm assuming this means into the header.php of my theme. Below is the first part of my header.php code; so where exactly should I insert the code? Thanks

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <?php
    global $avia_config;

    /*
    * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives
    * located in framework/php/function-set-avia-frontend.php
    */
    if (function_exists('avia_set_follow')) { echo avia_set_follow(); }

    ?>

  2. Harrison O.
    Member
    Posted 2 years ago #

    Yes, it is in your header.php and you can put it right before the head closing= </head>

    Your code here </head>

  3. pushkin
    Member
    Posted 2 years ago #

    Brilliant. Thanks for taking the time to reply.

Topic Closed

This topic has been closed to new replies.

About this Topic