Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1021168

    On the Google Search Console I am being asked to do the following

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

    How is this done?

    #1021196

    Hey JRTaxi,
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function google_meta_tag(){
      ?>
      <meta name="google-site-verification" content="Google_String">
      <?php
      }
      add_action('wp_head', 'google_meta_tag');

    replace the example Google Meta Tag with yours.

    Best regards,
    Mike

    #1022012

    Thx Mike

    #1022126

    Hi,
    Glad to help, unless there is anything else we can help with on this issue, shall we close this then?

    Best regards,
    Mike

    #1023076

    Hi Mike – sounds like the thing to do.
    Cheers JRT

    #1023080

    Hi,
    Very good then, thanks for using Enfold.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Add Meta tag to the Homepage’ is closed to new replies.