Google introduced new +1 button that should improve browsing results. As every service, there are several ways how to put Google +1 button on your page.
For starters, you can visit the Google button maker
, choose the shape of the button, copy the code and incorporate it into your web page or blog. But what happens if you want that button to show in every post/article?
The part of the code that pulls the global page information creates the problem. Your Google Profile will record that you clicked on the button with the basic content of your site that is set within the code and the end result will be - if you press one button, all buttons will be marked as clicked.
That is something that you probably don't want. For dealing with this part you need to do a little programming so that every article/post will have it's own button. With the help from Google your code will have to be modified
and used instead of the generic Google code
<g:plusone></g:plusone> you need to to put this code inside index.php page where you want the button is displayed <g:plusone size="tall" href=<?php the_permalink(); ?>></g:plusone>Function size="tall"
gives us the shape of the button which you can choose and this part of the code <? php the_permalink ();?>
is giving back the information connected with inividual post.
From this point forward your articles/posts will show the real number of clicks. We hope this helped and you can expect to see a +1 button on Bright Side of News* as well, as soon as our webmasters' back recover from a move into a newly built home.
© 2009 - 2014 Bright Side Of News*, All rights reserved.