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:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
function code_google_buzz($title, $link, $img_prefix) { return ' <div class="lightsocial_element"></div> <script type="text/javascript">// <![CDATA[ (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); })(); // ]]></script> '; } |
‘; } Jean-Luc Aufranc (CNXSoft)Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011. www.cnx-software.com