php - Google plus button is not showing up -
i have used code on website +1
<!-- place tag want +1 button render. --> <div class="g-plusone" data-size="tall"></div> <!-- place tag after last +1 button 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>
but shows on on pages without queries - example shows on index.php doesn't show on index.php?id=1
facebook , twitter buttons works fine.
how can fix ?
update i've found way how fix it. problem button showing changed style button moved top, left ( -1000px ).
this solved problem: #___plusone_0, #___plusone_0 iframe { position:static !important; width:60px !important; height:70px !important; }
Comments
Post a Comment