Title: Custom Fields
Last modified: August 21, 2016

---

# Custom Fields

 *  Resolved [zaydB](https://wordpress.org/support/users/zaydb/)
 * (@zaydb)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/custom-fields-89/)
 * Does anyone know the format of importing custom fields from a custom post. I 
   tried a few things out from: Having the name(not the label) of the custom field
   as a column, prefixing the custom field name with wpcf-_custom field name_ as
   a column and also using csv__custom filed name_ as a column. Unfortunately none
   of these seemed to work. I tried to hack it by adding the custom fields to the
   acceptable values from an array but this didnt seem to work either. Can anyone
   help?
 * Thanks and Regards
 * [http://wordpress.org/plugins/csv-importer/](http://wordpress.org/plugins/csv-importer/)

Viewing 1 replies (of 1 total)

 *  [musicmann](https://wordpress.org/support/users/musicmann/)
 * (@musicmann)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-89/#post-3974079)
 * From what I understand, the “csv” prefix is for standard built-in WP fields. 
   When this plugin encounters a column header that doesn’t begin with “csv” it 
   assumes it’s a custom field and adds it as such.
 * Therefore, the column heading needs to be the meta key for the custom field.
 * There’s no standard prefix for the meta key as different plugins use different
   prefixes to avoid conflicts. For example, Yoast SEO uses “_yoast_wpseo_” as their
   prefix. Custom fields created by the Types plugin have “wpcf-” as their prefix.
 * There are a couple of ways to determine the correct meta key:
    1. Go to an entry(
   post, page, CPT) that has a value for the custom field that you want. Make sure
   the Screen Options has “Custom Fields” checked. See if there is a listing of 
   Custom Fields Name (this is the meta key) and Value.
 * 2. Look for the value in the postmeta table of your database. This usually involves
   going into your webhosting account and using something like PHPMyAdmin to view
   the database directly.

Viewing 1 replies (of 1 total)

The topic ‘Custom Fields’ is closed to new replies.

 * ![](https://ps.w.org/csv-importer/assets/icon-256x256.png?rev=3039593)
 * [CSV Importer](https://wordpress.org/plugins/csv-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/csv-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/csv-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/csv-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/csv-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/csv-importer/reviews/)

## Tags

 * [custom fields](https://wordpress.org/support/topic-tag/custom-fields/)
 * [custom posts](https://wordpress.org/support/topic-tag/custom-posts/)

 * 1 reply
 * 2 participants
 * Last reply from: [musicmann](https://wordpress.org/support/users/musicmann/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/custom-fields-89/#post-3974079)
 * Status: resolved