Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • #8366


    I woud like to add the Google +1 button on the top of the homepage http://digitaldiscovery.com.pt as you can see in the picture:


    The code is:

    <!– Coloque esta etiqueta onde pretende que o botão de +1 seja apresentado –>

    <g:plusone size=”medium” annotation=”inline”></g:plusone>

    <!– Coloque esta chamada de apresentação onde for apropriado –>

    <script type=”text/javascript”>

    window.___gcfg = {lang: ‘pt-PT’};

    (function() {

    var po = document.createElement(‘script’); po.type = ‘text/javascript’; po.async = true;

    po.src = ‘https://apis.google.com/js/plusone.js’;

    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(po, s);



    Can you Help me?

    Tks in advance guys!

    Pedro M Pereira



    Tks in advance :P



    you can paste your code in your header.php below

    <div class='container'>
    * display the main navigation menu
    * modify the output in your wordpress admin backend at appearance->menus
    $args = array('theme_location'=>'avia2', 'fallback_cb' => '');


    Problem solved. However whats happening is the Google +1 button is not center and its making the top of the site larger. At the same time the description of the services is under the slide show.

    How can I fix this?

    Image of the problems in the folowing link:


    Tks in advance!



    You pasted the code in wrong. You’ve pasted a piece of it twice, once of which you’re wrapping the entire slideshow. Maybe you forgot to remove some edits you made earlier?




    Hey Chris,

    Well since it seems I cant get this working out I will remove it :)

    Tks anyway :))



    Right below your body you have this as a leftover:

    <a href="https://plus.google.com/106742328899347516762 ?rel=author">

    This is what you forgot to remove earlier – as I said before.

    If you look at a collapsed piece of code there’s still a lot that has to be removed for it to function properly

    <body id="top" class="home page page-id-425 page-template-default Firefox Firefox10">
    <a href="https://plus.google.com/106742328899347516762 ?rel=author">
    <div id="wrap_all">
    <a href="https://plus.google.com/106742328899347516762 ?rel=author">

    See how you’ve got it twice? I really suggest you revert to before you put it in, then try and add it again, I’ll give you instructions on that once this is out of the way :)

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Google + Share Button’ is closed to new replies.