{"id":5814077,"date":"2023-07-22T00:29:04","date_gmt":"2023-07-22T00:29:04","guid":{"rendered":"https:\/\/www.wpallimport.com\/?post_type=documentation&#038;p=5814077"},"modified":"2025-12-08T17:50:51","modified_gmt":"2025-12-08T17:50:51","slug":"theme-plugin-fields","status":"publish","type":"documentation","link":"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/","title":{"rendered":"Custom Fields Overview"},"content":{"rendered":"\n<p>In this tutorial, you\u2019ll learn how to use WP All Import to import data from your XML or CSV into any plugin or theme.<\/p>\n\n\n\n<p>Many themes and plugins&nbsp;have&nbsp;\u201ccustom\u201d places&nbsp;to input data \u2014 not just the post title and content boxes on normal <strong>Posts<\/strong> or <strong>Pages<\/strong>.<\/p>\n\n\n\n<p>The technical term for these extra fields is custom fields or post meta.<\/p>\n\n\n\n<p>WP All Import has full support for Custom Fields and can even auto-detect the names of the fields used by your themes and plugins, so you don\u2019t have to ask the author, guess, or look at any code.<\/p>\n\n\n\n<p>Watch the video tutorial below to see how easy it is:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"How to Import Custom Fields From Any CSV into WordPress or WooCommerce\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/w2J7JbXMHZo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>For text instructions, please continue reading below:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"auto-detect\">Auto-Detecting the Fields<\/h2>\n\n\n\n<p>For WP All Import to detect a field, it must exist at least once in your database in a <strong>published<\/strong> post (not draft or any other post status).<\/p>\n\n\n\n<p>If you already have posts on your site with the fields you want to import filled out, WP All Import will detect those fields.<\/p>\n\n\n\n<p>If not, simply create a dummy post, enter in dummy values for the fields you want to import data to, then publish it.<\/p>\n\n\n\n<p>Once done, perform the import process again, and you'll see the message below. Click <strong>See Detected Fields<\/strong> to see the detected fields.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/see-detected-fields.png\" alt=\"See Detected Fields\" class=\"wp-image-419\" \/><\/figure>\n\n\n\n<p>Once you click <strong>See Detected Fields<\/strong>, WP All Import will show you all the detected fields.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/auto-detected-fields.png\" alt=\"Populated Detected Fields\" class=\"wp-image-420\" \/><\/figure>\n\n\n\n<p>WP All Import can also show you the different possible values for your fields. For example, if you need to know the possible values for a \u201cselect\u201d option, just manually create a post with the \u201cselect\u201d option in every state for which you want to know the field value.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"example-obtain-data\">Example \u2013 Select Box In OpenDoor Theme<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/rob-theme.jpg\" alt=\"Rent or Buy Select Field\" class=\"wp-image-421\" \/><\/figure>\n\n\n\n<p>Saving two posts, one with the select option set to <strong>Rent<\/strong> and the other with the select option set to <strong>Buy<\/strong>, results in WP All Import auto-detecting the possible values:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/rob-values-detected.jpg\" alt=\"\" class=\"wp-image-422\" \/><\/figure>\n\n\n\n<p>Of course, you can import into fields without WP All Import auto-detecting their names and values \u2014 you just have to know the names and possible field values yourself.<\/p>\n\n\n\n<div class=\"docs-interstitial\">\n\n    <img decoding=\"async\" src=\"https:\/\/www.wpallimport.com\/wp-content\/plugins\/custom-acf-blocks\/blocks\/docs-interstitial\/img\/octopus-logo.svg\" class=\"docs-interstitial__logo\">    <h3>Import Any CSV, XML, or Excel to WordPress<\/h3>\n    <ul><li>Any theme or plugin<\/li><li>Images &amp; galleries<\/li><li>Custom fields<\/li><li>Categories &amp; Tags<\/li><li>Woo, ACF, Meta Box, JetEngine<\/li><\/ul>\n    <div class=\"docs-interstitial__cta\">\n        <a class=\"docs-interstitial__btn\" href=\"#pricing\" target=\"_self\">View Pricing<\/a>\n                    <a class=\"docs-interstitial__text-link\" href=\"https:\/\/www.wpallimport.com\/import-wordpress-csv-xml-excel\/\" target=\"_self\">\n                Product Tour\n                <div class=\"docs-interstitial__text-link-arrow\">\n                    <svg width=\"13\" height=\"11\" viewBox=\"0 0 13 11\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M8 1.5L12 5.5L8 9.5\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><\/path>\n                    <path d=\"M11.5 5.5H1\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><\/path>\n                    <\/svg>\n                <\/div>\n            <\/a>\n            <\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Related Docs<\/h2>\n\n\n\n\n\n<p>Learn how to map custom fields imported via WP All Import.<\/p>\n\n\n\n\n\n<p>Learn more about serialization and importing serialized fields.<\/p>\n\n\n\n\n\n<p>Provides instructions on how to run PHP code during the import.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, learn how to use WP All Import to import data to any of your plugins or theme's Custom Fields.<\/p>\n","protected":false},"author":96198,"featured_media":2990175,"parent":2991556,"menu_order":0,"template":"","tags":[138,141],"content_author":[213],"search_tags":[],"class_list":["post-5814077","documentation","type-documentation","status-publish","has-post-thumbnail","hentry","tag-w-article","tag-w-video","content_author-editorial-staff"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Import Custom Fields To Any Theme Or Plugin - WP All Import<\/title>\n<meta name=\"description\" content=\"In this tutorial, learn how to use WP All Import to import data to any of your plugins or theme&#039;s Custom Fields.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Import Custom Fields To Any Theme Or Plugin - WP All Import\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, learn how to use WP All Import to import data to any of your plugins or theme&#039;s Custom Fields.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/\" \/>\n<meta property=\"og:site_name\" content=\"WP All Import\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/groups\/wpallimport\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-08T17:50:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/see-detected-fields.png\" \/>\n\t<meta property=\"og:image:width\" content=\"884\" \/>\n\t<meta property=\"og:image:height\" content=\"325\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"Editorial Staff\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/\",\"url\":\"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/\",\"name\":\"Import Custom Fields To Any Theme Or Plugin - WP All Import\",\"isPartOf\":{\"@id\":\"https:\/\/www.wpallimport.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/see-detected-fields.png\",\"datePublished\":\"2023-07-22T00:29:04+00:00\",\"dateModified\":\"2025-12-08T17:50:51+00:00\",\"description\":\"In this tutorial, learn how to use WP All Import to import data to any of your plugins or theme's Custom Fields.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/#primaryimage\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/see-detected-fields.png\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/see-detected-fields.png\",\"width\":884,\"height\":325,\"caption\":\"See Detected Fields\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wpallimport.com\/#website\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"name\":\"WP All Import\",\"description\":\"Import XML &amp; CSV to WordPress\",\"publisher\":{\"@id\":\"https:\/\/www.wpallimport.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wpallimport.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.wpallimport.com\/#organization\",\"name\":\"WP All Import\",\"url\":\"https:\/\/www.wpallimport.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"contentUrl\":\"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg\",\"width\":199,\"height\":37,\"caption\":\"WP All Import\"},\"image\":{\"@id\":\"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Import Custom Fields To Any Theme Or Plugin - WP All Import","description":"In this tutorial, learn how to use WP All Import to import data to any of your plugins or theme's Custom Fields.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/","og_locale":"en_US","og_type":"article","og_title":"Import Custom Fields To Any Theme Or Plugin - WP All Import","og_description":"In this tutorial, learn how to use WP All Import to import data to any of your plugins or theme's Custom Fields.","og_url":"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/","og_site_name":"WP All Import","article_author":"https:\/\/www.facebook.com\/groups\/wpallimport","article_modified_time":"2025-12-08T17:50:51+00:00","og_image":[{"width":884,"height":325,"url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/see-detected-fields.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes","Written by":"Editorial Staff"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/","url":"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/","name":"Import Custom Fields To Any Theme Or Plugin - WP All Import","isPartOf":{"@id":"https:\/\/www.wpallimport.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/#primaryimage"},"image":{"@id":"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/see-detected-fields.png","datePublished":"2023-07-22T00:29:04+00:00","dateModified":"2025-12-08T17:50:51+00:00","description":"In this tutorial, learn how to use WP All Import to import data to any of your plugins or theme's Custom Fields.","breadcrumb":{"@id":"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/documentation\/theme-plugin-fields\/#primaryimage","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/see-detected-fields.png","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/see-detected-fields.png","width":884,"height":325,"caption":"See Detected Fields"},{"@type":"WebSite","@id":"https:\/\/www.wpallimport.com\/#website","url":"https:\/\/www.wpallimport.com\/","name":"WP All Import","description":"Import XML &amp; CSV to WordPress","publisher":{"@id":"https:\/\/www.wpallimport.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpallimport.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.wpallimport.com\/#organization","name":"WP All Import","url":"https:\/\/www.wpallimport.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","contentUrl":"https:\/\/www.wpallimport.com\/wp-content\/uploads\/2020\/02\/logo-v5-no-text.svg","width":199,"height":37,"caption":"WP All Import"},"image":{"@id":"https:\/\/www.wpallimport.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5814077","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/users\/96198"}],"version-history":[{"count":0,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/5814077\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/documentation\/2991556"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media\/2990175"}],"wp:attachment":[{"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/media?parent=5814077"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/tags?post=5814077"},{"taxonomy":"content_author","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/content_author?post=5814077"},{"taxonomy":"search_tags","embeddable":true,"href":"https:\/\/www.wpallimport.com\/wp-json\/wp\/v2\/search_tags?post=5814077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}