Ready to get started?Download WordPress


how to remove custom field values (3 posts)

  1. parasew
    Posted 9 years ago #

    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...

  2. Kafkaesqui

    Posted 9 years ago #

    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™.

  3. paul
    Posted 8 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic