Archived topic
Embed a pinterest Board
5 replies · Started by Joan on April 28, 2020
Hello,
I want to embed a pinterest board i a page. I try to add the Pinterest PINIT script using the Elements modul.
I added a new Hook element
Paste the ode into the Code box.
Select wp_head in the Settings tab
Select Entire site in the Display Rules tab
and publish it...
But nothing happens,... no error, no board in the page
Can you help me to discover what I'm doing bad?
Thanks
Hi there,
If it's a <script> then generally speaking it should go in the wp_footer hook.
This is the code:
<script async defer src="//assets.pinterest.com/js/pinit.js"></script>
Theoreticalle it should be copied in th eBody,... I tried in header, footer and body,.... allways with the same result
That looks like it should be in the wp_footer.
Did they provide any instructions on how to add it?
Any caching plugin that might be causing some issues?
GP itself cannot make the code work/not work.
Well,...
Instructions are to put in each page jut before the /BODY label....
I deactivated the W3 Total Cache pluggin
I installed in "after_main_content"
and it appears!!
so, I re-activated W3 Total cache and it is still here!!
It seems solved,... I will try some other options to check....
Thanks
Glad to hear :)
I'm guessing that it was a caching issue.