{"id":2689,"date":"2026-10-20T08:35:27","date_gmt":"2026-10-20T07:35:27","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/field-key-is-missing\/"},"modified":"2026-10-20T08:41:00","modified_gmt":"2026-10-20T07:41:00","slug":"field-key-is-missing","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/troubleshooting\/field-key-is-missing\/","title":{"rendered":"Why GeoDirectory listings show &#8220;field key is missing&#8221;"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The message comes from a GeoDirectory block or shortcode that needs a field key and does not have one. GD &gt; Post Badge and GD &gt; Dynamic Content show &#8220;field key is missing&#8221;, and GD &gt; Post Meta shows &#8220;key is missing&#8221;. When the text appears on every listing, the block without a key is in a template that every listing uses.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to GeoDirectory &gt; Settings &gt; General &gt; Pages and open the page set as Archive item page. It controls how each listing looks on category pages, search results and GD &gt; Listings, so one broken block there shows on every listing.<\/li>\n\n\n\n<li>If the message is on the listing pages themselves, open the Details Page from the same screen.<\/li>\n\n\n\n<li>Look for GD &gt; Post Badge, GD &gt; Post Meta or GD &gt; Dynamic Content blocks with an empty Field Key. In shortcode form that looks like <code>&#091;gd_post_badge&#093;<\/code> with no <code>key<\/code>.<\/li>\n\n\n\n<li>Choose a field for the block, or delete it, then update the page.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">A post type can have its own Archive item and Details pages in its settings (for example Places &gt; Settings &gt; General), so if you use several post types, check those pages too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A correct block names the field, for example <code>&#091;gd_post_meta key=&quot;address&quot;&#093;<\/code>. See <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-post-badge\/\">GD &gt; Post Badge<\/a> and <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-widgets\/gd-post-meta\/\">GD &gt; Post Meta<\/a> for their settings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The message comes from a GeoDirectory block or shortcode that needs a field key and does not have one. GD &gt; Post Badge and GD &gt; Dynamic Content show &#8220;field key is missing&#8221;, and GD &gt; Post Meta shows &#8220;key is missing&#8221;. When the text appears on every listing, the block without a key is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[211,437],"class_list":["post-2689","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-tips-tricks-more","gd_placecategory-troubleshooting"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=2689"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2689\/revisions"}],"predecessor-version":[{"id":2831,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2689\/revisions\/2831"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2689"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2689"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}