{"id":13107196,"date":"2020-07-10T21:14:52","date_gmt":"2020-07-10T21:14:52","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/how-to-index-acf-field\/"},"modified":"2020-07-10T21:14:52","modified_gmt":"2020-07-10T21:14:52","slug":"how-to-index-acf-field","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/how-to-index-acf-field\/","title":{"rendered":"How to index ACF field?"},"content":{"rendered":"<p>I&#8217;ve found documentation on indexing ACF repeater fields (add to functions.php), but what if all I want to do is index a normal ACF text field?<\/p>\n<p>1. can the fields simply be added on the &#8220;indexing&#8221; tab? (same place you would add _sku to index the woocommerce sku field)<\/p>\n<p>2. would I use the &#8220;friendly&#8221; field name like &#8220;subtitle&#8221; or the internal name like &#8220;field_5c86c2e3af29d&#8221;?<\/p>\n<p>The SKU indexes fine, but I can&#8217;t get any ACF text field to index&#8230;I must be doing something wrong.<\/p>\n<p>THANKS!<\/p>\n","protected":false},"template":"","class_list":["post-13107196","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13107196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/13107196\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=13107196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}