How to inject HTML code in the head only on home and post pages

I believe that what you want to do is add code to the script that checks the URL and fires only when it’s on the pages you’re interested in.

1 Like