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.
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.
in your theme's header.php
you will see other meta tags, just paste it under one of those
As in Themes under appearance on dashboard?
yup. go to appearance-> editor
then select your header.php
How do I get to my theme's header.php? that's where I'm stuck.
when you go to appearance-> editor, on the right there should be a list of editable files.....one of them shoudl be header.php
or appearance-> editor ? I hover, right click and everything else I can think of on appearance and find zilch.
did you just plain old click?
you should be able to click on editor to go to the section that lists your files
yes ..and it shows php in bar at page bottom ,then done and nothing happens.
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?
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.
Rest of admin seems great. My url is coastalcopperart.com
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)
I'll have at it and see if it fixes the problem. Thanks for your help.
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.
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?
I see no editor link on the dashboard page.
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
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.
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!
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?
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
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.
Thanks for posting your solution! I added the tag to this thread for that theme to aid folks in searching
This topic has been closed to new replies.