• Hello, please take a look at glamourina

    As you can see in every post in the homepage there is the +1 button. Is it possible to add an option as there is in the facebook-like-it-button so that the +1 button will be removed from the homepage?

    It makes the site load slower.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • With the plugin, probably not.

    But you can do without a plugin, and then it would work.

    – deactivate the plugin
    – edit your header with that code above the </head> part :
    <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
    – edit your template’s single.php (the pages of the posts) and add wherever you like
    <g:plusone size="medium"></g:plusone>
    You may edit the “medium” size as you see fit, ask Google precisely if you want more.

    And if you want to toy with more advanced settings, this is the way to avoid having something – like the google +1 button – to be shown on the index page, and to be shown anywhere else :

    <?php
    if ( is_home() ) {
    echo '<g:plusone size=small></g:plusone> ';
    } else {
        // do nothing
    }
    ?>
    Plugin Author jeremyarntz

    (@jeremyarntz)

    Yep this is on my list of features to add. Look for a new version in the next few days.

    Thread Starter utnalove

    (@utnalove)

    cool, that would be a nice feature

    Thread Starter utnalove

    (@utnalove)

    Hello, how is going the development of this new feature?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Google Plus One Button] Show in only on posts and pages, but remove it from the homepage’ is closed to new replies.