Home > Uncategorized > Adding Google Plus to Light Social Plugin for WordPress

Adding Google Plus to Light Social Plugin for WordPress

I’ve just switched to Light Social plugin because I have problems with other plugins such as Digg Digg and Sexy Bookmarks. The Light Social plugin is not updated anymore, so Google Buzz button is still there, but there is no Google+ button.

In order to replace Google Buzz button by Google+ button, you simply need to modify code_google_buzz function in wp-content/plugins/light-social/lightsocial.php as follows:

[sourcecode language="php"]
function code_google_buzz($title, $link, $img_prefix)
{
return ‘

‘;
}
[/sourcecode]

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

  1. Barney Fife
    March 19th, 2012 at 15:08 | #1

    Funny.
    Why isn’t this included under this post?
    Oh – I know – BECAUSE IT DOESN’T WORK!

  2. March 19th, 2012 at 15:13 | #2

    I can see the red Google plus icon (g+1) on the right of the twitter icon both as a visitor and a logged-in user.

  3. March 19th, 2012 at 15:28 | #3

    OK. I suppose you might be using Internet Explorer 7.0 (in Windows XP). I’ve just tried it and the icon does not show. It works for Chrome, Firefox and Internet Explorer 9.0.

  1. No trackbacks yet.