Google button doesn't appear -


google +1 button don't want appear.

i follow method here: https://developers.google.com/+/web/+1button/

a post on blog example: http://misapuntesde.com/post.php?id=256

it's post.php blacklisted page (it doesn't), because copy/paste same page post_t.php , works.

google not me :(

i'm not seeing +1 button rending on page sources. doing in php code not rendering javascript include or +1 markup.

try adding code site before closing </body> tag:

<script type="text/javascript">   (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> 

next, add following code want +1 button render:

<div class="g-plusone" data-annotation="inline" data-width="300"></div> 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -