Quote:
Originally Posted by Lynne
There is no reason you cannot write a plugin that changes a meta tag for a page. As long as you are able to write a valid condition, you should be able to change it.
|
Lynne, would you mind giving an example of dynamically changing, for example, a pages meta tag (eg: description)? For example, using the code in the first post of this thread, if I was to generate a random value every time the page loads then how would I go about using that dynamic random value as the page meta description?
I can see that I can the style_fetch hook & a few other locations to have a constant meta tag override but I'm not seeing how to get a dynamic one in there for a custom page.
Thanks