Warning: Back up your database and your entire WordPress website before proceeding. I am no way to be held accountable for you breaking your website.

This is the trick I used with my 1and1 hosted WordPress hosted website. I found this method mentioned with no detail after spending forty minutes looking for a way to delete a misspelled Custom Field.

  1. Go to your database’s phpmyadmin.
  2. In the left column look for “wp_postmeta”
  3. Click on Browse at the top of the page.
  4. Find the Sort by key: drop-down menu and choose “option_name (ascending)” or “option_name (descending)”
  5. Under the “option_name” column, look for the name of the Custom Field that you want want to delete.
  6. Click the red X in that row to delete the Custom Field. Repeat for each instance of that particular Custom Field you wish to get rid of.
  7. In WordPress, open up a new post and scroll down to Custom Fields. Look in the drop down menu to make sure that Custom Field is now gone.
Tagged with:
 

One Response to How to remove unwanted Custom Field in WordPress

  1. Brilliant tip. Been looking for a solution for how to remove custom fields in WordPress all morning. Thanks again!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>