I am looking for a SQL query to change the value of a custom field, but not on all posts.

Some posts have in the “post_template” custom field a “temp1” value, and I want to change this value to “temp4”. Other values of this custom field must remain.

I searched for the perfect query but nothing I found is working.

Thanks.


This is only a snippet of a WordPress Website Design Article written by jnrmy

Read Full Article


Content Disclaimer 

This Content is Generated from RSS Feeds, if your content is featured and you would like to be removed, please Contact Us With your website address and name of site you wish to be removed from.

Note:

You can control what content is distributed in your RSS Feed by using your Website Editor.

Tech Shop Offers