Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1301461
    josephk99997
    Participant

    According to Google’s instructions:

    Copy the meta tag below, and paste it into your site’s home page. It should go in the <head> section, before the first <body> section.

    How do I proceed? I am using a Child Theme.

    #1301466
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! Since you have a child theme, you no longer need to manually insert the code in the header section. We can have a custom function code. Please add the following code in your child theme’s functions.php file

    function add_google_meta() { ?>
       
       <!-- code starts here -->
       you will insert the given code here
       <!-- code ends here -->
    
    <?php }
    add_action('wp_head', 'add_google_meta');

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1301461 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>