[wp-hackers] MySQL queries to add to wp_postmeta

Joel Fisher joelfisher at gmail.com
Mon Jul 12 23:08:18 UTC 2010


I have a ton of posts that I need to add a meta_key and meta_value too.
Some posts, it already exists so I don't want to overwrite.

Basically I want to add it to ALL posts that do NOT have it already.

Can someone point me to a MySQL query or alternative method to add this data?

Thanks.



joel.fisher
www.flushinc.com

Linkedin: http://www.linkedin.com/in/jfisher
Follow: www.twitter.com/joelmoney


More information about the wp-hackers mailing list