Forums

[resolved] Google verification meta tag (24 posts)

  1. Deray
    Member
    Posted 2 years ago #

    I need to copy/paste a Google verification meta tag into my site's home page to submit it and start Google Analytics and have no idea how to do that or even access the code. Please make it simple as I am a newbie. Thanks.

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    in your theme's header.php

    you will see other meta tags, just paste it under one of those

  3. Deray
    Member
    Posted 2 years ago #

    As in Themes under appearance on dashboard?

  4. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    yup. go to appearance-> editor

    then select your header.php

  5. Deray
    Member
    Posted 2 years ago #

    How do I get to my theme's header.php? that's where I'm stuck.

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    when you go to appearance-> editor, on the right there should be a list of editable files.....one of them shoudl be header.php

  7. Deray
    Member
    Posted 2 years ago #

    or appearance-> editor ? I hover, right click and everything else I can think of on appearance and find zilch.

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    did you just plain old click?

    you should be able to click on editor to go to the section that lists your files

  9. Deray
    Member
    Posted 2 years ago #

    yes ..and it shows php in bar at page bottom ,then done and nothing happens.

  10. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    hmmm...seems like you have an entirely different issue, and one I'm not sure how to remedy. Can you navigate around to the rest of your admin sections with no problem?

  11. Deray
    Member
    Posted 2 years ago #

    Is there a way to salvage weeks of work on my site and reload WP. There is something obviously very wrong. I have spent the last 4 days reading the codex and nothing there seems to work.

  12. Deray
    Member
    Posted 2 years ago #

    Rest of admin seems great. My url is coastalcopperart.com

  13. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    you can just re-upload the WP files (wp-admin and wp-includes folders) by FTP or use tools-upgrade if that's available to you (upgrade can be used to reinstall WP too)

    your posts and such are in your DB, so they are safe.

    you may want to backup your DB, and your wp-contents folder to be safe (you really should be doing this frequently anyway, in case something happens to your site)

  14. Deray
    Member
    Posted 2 years ago #

    I'll have at it and see if it fixes the problem. Thanks for your help.

  15. Deray
    Member
    Posted 2 years ago #

    I updated through tools-upgrade and nothing changed. I watched the bar at the bottom and it is simply a circular reload to the same admin page I was looking at in the first place. I get nothing indicating editor, files, or code.

  16. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    so, when you hover over the editor link, at the bottom of your browser it shows that it should be going to

    http://coastalcopperart.com/wp-admin/theme-editor.php correct?

    and does that file exist in your wp-admin folder?

  17. Deray
    Member
    Posted 2 years ago #

    I see no editor link on the dashboard page.

  18. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    ooh....so your appearance tab won't even open up?

    That makes me wonder if you have a plugin conflict of some sort. I'd try to navigate there after deactivating all plugins temporarily

  19. Deray
    Member
    Posted 2 years ago #

    Will do. Only plugin is shopping cart . ...........the appearance tab opens fine and I've downloaded themes etc. Disabled cart plugin - no change. Still just retuns immediately to original screen. No editor, files, code etc.

  20. Deray
    Member
    Posted 2 years ago #

    Wait! I went back and double checked and now have an EDITOR! I'll make the insert, reactivate the plugin, and hopefully am good to go. Thank you so very, very much!

  21. Deray
    Member
    Posted 2 years ago #

    RVoodoo.... New issue. Google directs insertion in head, before body and shows HTML example. I am somewhat familiar with basic HTML but know nothing about php. Can you translate? I see no "Head" or "Body" just "cfct_header();" near the bottom of the page and google can't find it. Where on the page should it go?

  22. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    header.php should be a file in your editor

    within header.php is a <head> section, and the start of a <body> section

    in between the opening and closing <head> tags there will already be some <meta> stuff

    just add the line there

  23. Deray
    Member
    Posted 2 years ago #

    RVoodoo thanks for hanging with me. I would have probably just given up without your help, but finally got it resolved like this:
    In the theme editor, I opened the header-default.php template NOT the header.php. then about 3/4 down the page I entered it here:
    <?php
    wp_head();
    ?>
    <meta name="google-site-verification"
    </head>
    and now everything is wonderful. Thanks for your help though. I think the problem came from the weird layout of the theme I am using, Underwater 2.1. Maybe you can share this with someone else if you run into it again.Thanks again.

  24. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    Thanks for posting your solution! I added the tag to this thread for that theme to aid folks in searching

Topic Closed

This topic has been closed to new replies.

About this Topic