2012-03-19, 11:39 PM
[attachment=25789]
I added the code for google +1 button and twitter's follow button to the bottom of my header template (standard theme) which loads 2 javascripts:
I added the code for google +1 button and twitter's follow button to the bottom of my header template (standard theme) which loads 2 javascripts:
<SCRIPT LANGUAGE="JavaScript" src="https://apis.google.com/js/plusone.js"></script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<g:plusone size="medium" annotation="none"></g:plusone><a href="https://twitter.com/" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @</a>
And now I get this additional twitter icon in my forum. Is there a format issue with the code I got from google and twitter in placing it in the header template php page?