skip to Main Content

I want to edit my website’s home page.

To add Google Tag <meta name="google-site-verification" content="************" />

But I can’t find out home page HTML in WordPress. All I see is WordPress/Elementor page editor, which allows me to edit blocks but not top <html> tags.

How can I do that? I don’t have CPanel/FireZilla Access.

2

Answers


  1. in fuction.php your theme add this

    add_action( 'wp_head', 'google_verification', 1);
    function google_verification() {
        echo '<meta name="google-site-verification" content="************" />', "n";
    }
    
    Login or Signup to reply.
  2. in WordPress dashboard Appearance–>Theme editor –>Header.php file(if exists)
    copy the code and paste in between .then update

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search