Help Placing Code in Header... Not Working!

by 15 replies
17
hi folks,

i am trying to get my website verified for my google+ page.
it says i am to paste this code into my homepage.

<a href="https://plus.google.com/101413488355339492826" rel="publisher">Google+</a>

i am using the avada theme. i went into the editor - header.php template. i pasted the code just before </head> and it didn't work. it actually made the word "google" visible in my header... something is just wrong!

please help.
thanks so much
#website design #code #header #placing #working
  • No, <head> is for content that should not be shown to the visitor. Typically, an <a> tag should be inserted in the <body> section.
    • [1] reply
    • It should not be shown to the visitor. It is just for verification. You suggest placing it in the body section?


  • Can you take a screenshot of what Google says?
    • [1] reply
    • It just said to place code on the homepage. No further instructions.

  • Place it from the WordPress page editor (choose the "text" tab) and add the HTML code. After verification you can just remove it.
    • [1] reply
    • If the code can be added to the page editor, it should be in the "HTML" tab.

      • [1] reply
  • Learn how to link a Google+ page to your website

    Doesn't seem all that complicated.
  • The code you have above is just a link to your Google + ... homepage as that is why you see a link Google + link there.

    The verification process is totally different. They should look like this
    <meta name="google-site-verification" content="xxxxxxxxxxxxxxxxxxxxxxxxxxxx" /> and they go in before the </head>
    • [1] reply
    • Well that is strange but makes sense, thanks. When I click the "verify your website" link - that is the code they are giving. Something is off here


  • Ahhhhhhhh

    They are just giving you a link you can put on your site for others to get to your page not actually verifying it for them. Add that link that you posted and that's the link surfers will use to get to your site.

    Navigate to ....... https://plus.google.com/101413488355339492826 that's your Google + homepage. Which it is as I just went there.

    No need to verify it like you were thinking on your original post.
    • [1] reply
    • thanks so much for the clarification. i must have spent 2 hours trying to get that link to work okay... moving on


      • [1] reply
  • at least it wasn't more than 2 hours
  • Banned
    [DELETED]

Next Topics on Trending Feed