I have the VigLink plugin. I registered and they gave me some code to put just before the closing body tag. How do I set this up so it applies to all my posts but not the main page?

Join the Discussion
Write something…
Recent messages
Daesmith Premium
following...
I cannot figure it out either. I don't want all that text just thrown on my page somewhere...
Reply
ElwinDutton Premium
You might try this if you want to use a plugin.

https://wordpress.org/plugins/insert-headers-and-footers/
Reply
DavePaton Premium
Thanks, that was a great suggestion. Just need to now figure out why nothing has changed.
Reply
ElwinDutton Premium
Sometimes it takes a while before the ads show up.
Reply
DavePaton Premium
thanks
Reply
MarionBlack Premium
Perhaps a Custom HTML widget would do the trick.
Reply
DavePaton Premium
I already thought of that but I didn't know where to put it so that it was right before the closing body tag.
Reply
DavePaton Premium
I found how to enter it for a single page but I still need to know if you can enter it in a template.
Reply
MarionBlack Premium
I hope you're using a child theme when you edit the code :)

Can you add HTML to PHP? Try adding the code to page.php (aka single post)
Reply
Top