I would like to know if it is possible to dynamically change meta tags
from php. I have a site that has a wordpress "PAGE" that runs php code to dynamically create content. The php code can potentially create hundreds or thousands of pages dynamically - like a products page on an eCommerce site. The site is
http://www.kipssite.net/wpblog/?page_id=1991
I am somewhat new to wordpress and not sure if there is a php function to accomplish this. The <title> tag is already there and I want to
modify it for each page. The description and keywords meta tags are
not there and I need to add these. I am assuming there is a php function to add a meta tag.
I tried this line of code but it did not add any tags.
Not sure if this is what I need.
add_action('wp_head','addMyMetaTagInfo');
So to summarize I want to add or change the Title, Description and
Keywords meta tags on dynamically created wordpress pages.
I know there are meta tag plugins but my understanding is that these
are only for static wordpress pages.
If you can provide examples with code that would be a big help.
Thank You.