Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #307529

    My client wants to add google+ to his site and has supplied my with a line of code. He says it needs to go on the homepage so it can be verified.
    Could you tell me where to place it and into which file.

    Cheers,

    hughsieg5

    #307666

    Hey hughsieg5!

    Thank you for using the theme.

    If I am not mistaken, the code should go after the body tag so you can add something like this on functions.php:

    function google_add() { ?>
     GOOGLE+ CODE HERE
    <?php }
    
    add_action('wp_head', 'google_add');

    Regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.