how to add a meta tag to the page template from Wordpress plugin?
- by detj
I want to add a meta tag like this one:
<meta name="key" content="value" />
to some of the pages in Wordpress. I know, I can add this into my template and it will show up. But the thing is, I am not allowed to even touch the template. It's totally template independent.
So, I have to add the meta tag only by doing something in my plugin code. I have tried wp_head action hook, but it is not working. Any idea of a workaround or anything to get the meta tag inside the head tags of the pages dynamically.