WordPress.org

Support

Support » Themes and Templates » Busiprof » Linking Busiprof WordPress Site to Google Page

Linking Busiprof WordPress Site to Google Page

  • Hi,

    I am attempting to link my website to my Google+ business page. According to Google’s instructions, “create a bidrectional link by placing the following code snippet in the <head> tag of the site’s HTML:

    a href=”https://plus.google.com/{+PageId}” rel=”publisher” />.

    My question is where exactly to place the code. I tried going into the theme editor, but it didn’t seem to link correctly.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi TaraStoll,

    Add your Google+ business page link inside in body part.

    Here are same instruction to add link in body part.

    1. Like your Google+ business page link.
    " <a href="https://plus.google.com/{+PageId}" rel="publisher" />Google Plus </a> "

    2. Past your link code after body tag.

    Thanks

    Hi TaraStoll,

    Plz paste your Google+ business page link code in header.php.
    It locate in theme directory.

    Like these type here.
    <body <?php body_class(); ?>>
    <a href="https://plus.google.com/{+PageId}" rel="publisher" />Google Plus </a>

    Thanks

    Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    Plz paste your Google+ business page link code in header.php.

    That’s a really bad idea. If the theme get’s updated then your changes will get wiped out and you’ll be back to square one.

    If you have to do it that way then create an activate a child theme instead. Then copy the original header.php into the child theme directory and edit that copy instead.

    http://codex.wordpress.org/Child_Themes

    Thanks!

    Theme Author webriti

    @priyanshumittal

    Yes

    Editing php code or any css code in the parent theme will overwrite all your changes when you do theme update.

    So child theme is always the better solution..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Linking Busiprof WordPress Site to Google Page’ is closed to new replies.
Skip to toolbar