Support » Fixing WordPress » Changing Custom Fields names

  • Is there a way to batch change the custom fields names without direct SQL query ?

    I have about 100 posts, and i want to change One of the 4 custom fields name’s without having to change all the posts again ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • I would probably wire the SQL code on a PHP page instead. That way I have access to all the wordpress functions for dealing with the tables.

    For example, I needed to change something in all my posts so I wrote the query in a test.php file in my blog. When I ran it, I printed the results to see how they’d look then I executed it.

    In my case, I was changing all the image extensions in my posts from .png to .jpg

    Doing a REPLACE query ‘direct SQL’ seems to be the only plausible thing — unless there’s a plugin that exist.

    You obvsiouly know all the meta is under the wp_postmeta

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Changing Custom Fields names’ is closed to new replies.