WordPress.org

Forums

Google+ code not linking (16 posts)

  1. BruceBlack
    Member
    Posted 1 year ago #

    I am trying to link my google+ page to my wordpress website, which requires adding this simple line of code into the head
    If I add it as it is,
    Google+
    the code is visible on the page when i link it to the Google+ page
    <https://plus.google.com/u/0/b/110358427398133349036/+Mybancpay/about> which is not good.
    If i add the code like this,it wont link.
    <span style="display:none;">Google+</span>
    I am pasting the link into head, any suggestion please, driving me nuts!

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    I do believe that code should have a bit more to it that goes in your head section...

    for instance mine looks more like

    <link rel="publisher" href="https://plus.google.com/+VoodooPressWP"/>
  3. BruceBlack
    Member
    Posted 1 year ago #

    yes mine too I dont know why it reformatted like that
    Google+

    it is different format to yours i wonder if its worth swapping it around a bit

  4. BruceBlack
    Member
    Posted 1 year ago #

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

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    you need to post any sort of code in backtics to show up properly on the forums here - then it shows up in a fancy box like my example above

    backtic is on the same key as the tilde.... the wiggly line, top left of your keyboard under Esc

    The code you are posting is an actual link and will not work in the head section of your website, it is for making actual links in content of a webpage.

    Ar eyou trying to link your pages to show ownership of the website? That's what my code example is used for, I want to make sure we are speaking of the same thing

  6. BruceBlack
    Member
    Posted 1 year ago #

    Pardon, new at this! this is the code on the google+ page
    <a href="https://plus.google.com/+Mybancpay" rel="publisher">Google+</a>

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    I'm still not entirely sure what you are trying to do?

    My code goes up in the head section to link the 2 pages together so that Google+ knows you own your website

    The code you are showing is an actual link which would go into content, it might work within a menu or something - perhaps the menu link to your profile page showing you own the page.

  8. BruceBlack
    Member
    Posted 1 year ago #

    no I'm trying to do the same as you - just for google to know the page is mine. i'll try reformatting the code like yours and see what happens.
    Thanks for your assistance

  9. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    I looked over my pages, and here is what I have.... the code up above shows google that you own the page I believe

    To show that I am the author as well, I have an about me page on my website. I use the menu generator to make my menus, so I added the 'About Me' page to my menu, and in the generator there is a spot called Link Relationship (XFN) for menu items, it that spot for my 'About Me' page, I put in author

    Those 2 things together seem to work well for me

  10. BruceBlack
    Member
    Posted 1 year ago #

    I tried redoing the code in the same format as yours but still no joy. odd because its the 7 or 8th page links that we've done like this (admittedly not to wordPress) and there's been no problem

  11. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    How and where are you inserting this code?

  12. BruceBlack
    Member
    Posted 1 year ago #

    copying the code into Appearance/editor/header(header.php) just before the

    });
    </script>
    <link rel="publisher" href="https://plus.google.com/+Mybancpay"/>
    </head>
  13. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    That should work just fine, can I have a link to your site to see?

  14. BruceBlack
    Member
    Posted 1 year ago #

    http://www.mybancpay.com
    G+ page
    https://plus.google.com/u/0/b/110358427398133349036/+Mybancpay/about
    if you want to send me an email I can give you access to have a look at the code
    Thanks for your help
    BB

  15. aajayaprakash
    Member
    Posted 1 year ago #

  16. aajayaprakash
    Member
    Posted 1 year ago #

    my website link is http://www.secureusa.net/

Topic Closed

This topic has been closed to new replies.

About this Topic