Archived topic
google+ in widget
2 replies · Started by imke on February 3, 2016
Hello Tom,
I tried to embed google+, but it doesn't work at all.
Where can I add the script? Where is the head, especially for the widget?
That's what google says:
<!-- Place this tag in your head or just before your close body tag. -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<!-- Place this tag where you want the widget to render. -->
http://bairisch-diatonischer-jodelwahnsinn.de/termine/
Thanks for helping, Imke
Hello,
I solved this problem myself. Just putting in everything in the widget "text".
But the google+-post doesn`t fit in. Overwriting the css ".g-post" or ".Yc" doesn't work.
Imke
You would typically add the first part to GP Hooks in the wp_footer hook.
As for the width, maybe you can set it in the settings where you got the code from? If not, you can increase the width of the sidebar by using the Spacing add-on or increasing the Container Width in the Layout section.
Let me know :)
