Support » Fixing WordPress » how to remove custom field values

  • can anyone tell me how to remove custom field values? from a previous installed plugin i have the fields “syndication_source” and so on showing up. any idea where to remove those entries?
    looks like plugins don’t have proper uninstallers, since lots of crap stays in the db…

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can delete them through the database. If you have phpMyAdmin available to you for accessing your database, go into the postmeta table (usually wp_postmeta), browse the records, and delete those you no longer want around.

    A fast way to hit multiple records at once is to use a SQL query statement like this:

    DELETE FROM wp_postmeta WHERE meta_key = 'syndication_source';

    Just change the table prefix (wp_) if not using the default. Run a DELETE query on each meta_key value you want to remove.

    Warning: Backing up (exporting) your database before doing anything like this is a Good Thing™.

    This took forever to find but it was just what I needed to rip out the stuff that the Geo plugin left behind. I never got it to work and it just kept dumping _geo_location: in my pages, with values or without.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to remove custom field values’ is closed to new replies.