When I want to add a site-wide HTML code (before the closing tag) to each post and page in my site, I always go to my:
- WordPress Panel > Customize > Theme Settings > Header/Footer Scripts > Footer Scripts
And paste the code there. Works perfectly fine.
But now I want to add this code only to my posts with certain tags. I tried this (tags are X Y and Z):
But I guess it doesn’t work (update keeps loading, never ends)?
Any words of wisdom?
Go to Source