Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1066595
    cvanceiac
    Participant

    When I tried to log into Google Search Console today I was informed I needed to verify my site by adding a code into the <head> section of the homepage.

    From what I can tell this cannot be done in cornerstone. I’ve tried to edit the text of the home page but the text does not indicate a <head> section in the html.

    How can I achieve this simple task without downloading an plug-in? There must be a way.

    #1066836
    Christian
    Moderator

    Hey there,

    Please add the code below in your functions.php

    function add_code_to_head() { ?>
    	<!-- Replace this line with your code -->
    <?php }
    add_action( 'wp_head', 'add_code_to_head' );

    Thanks.

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