{"id":924,"date":"2025-03-24T14:28:02","date_gmt":"2025-03-24T14:28:02","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/what-is-the-default-category-field-for\/"},"modified":"2025-04-03T15:24:23","modified_gmt":"2025-04-03T14:24:23","slug":"what-is-the-default-category-field-for","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/what-is-the-default-category-field-for\/","title":{"rendered":"What is the Default Category Field for?"},"content":{"rendered":"<p>\n\tIn GeoDirectory, when adding a CPT listing, you are required to select a default category for each listing.&nbsp;<\/p>\n<p>\n\t<img width=\"802\" height=\"558\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-tgc2ohq0jx.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-tgc2ohq0jx.png 802w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-tgc2ohq0jx-300x209.png 300w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-tgc2ohq0jx-768x534.png 768w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/p>\n<p> <strong>This default category is used to decide the map icon and the schema applied for that particular listing.<\/strong>&nbsp;<\/p>\n<section class=\"alert alert-danger\">\n\tIf you are seeing incorrect schema in search engine results, you need to edit the categories to fix it.&nbsp;<\/section>\n<h2>How to Edit Category Schema?<\/h2>\n<dl>\n<dt>1<\/dt>\n<dd>\n\tGo to <strong>CPT &gt; Categories.&nbsp;<\/strong> <\/dd>\n<p>\t<img width=\"153\" height=\"439\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-kHVgJu8qQP.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-kHVgJu8qQP.png 153w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-kHVgJu8qQP-105x300.png 105w\" sizes=\"auto, (max-width: 153px) 100vw, 153px\" \/><\/p>\n<dt>2<\/dt>\n<dd>\n\tClick <strong>Edit <\/strong>under the category that you wish to edit. (Note: You need to click <strong>Edit, <\/strong>not <strong>Quick Edit<\/strong>).&nbsp;\n\t<\/dd>\n<p>\t<img width=\"920\" height=\"489\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-dbUFYPmFt2-1024x544.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-dbUFYPmFt2-1024x544.png 1024w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-dbUFYPmFt2-300x159.png 300w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-dbUFYPmFt2-768x408.png 768w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-dbUFYPmFt2.png 1124w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/p>\n<dt>3<\/dt>\n<dd>\n\tScroll down to the very end of the page, and locate <b style=\"background-color: initial;\">Schema Type. <\/b>Choose the appropriate type of schema and save your settings.&nbsp;\n\t<\/dd>\n<\/dl>\n<p>\n\t<img width=\"765\" height=\"564\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-e2KuJzbsOH.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-e2KuJzbsOH.png 765w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-e2KuJzbsOH-300x221.png 300w\" sizes=\"auto, (max-width: 765px) 100vw, 765px\" \/><\/p>\n<section class=\"alert alert-info\">\n\tIt is noteworthy that for any given business directory, you will most likely want to use <strong>&#8220;LocalBusiness&#8221;<\/strong> as the schema for every category, unless you have data that strongly matches one of the others listed on that page.<\/section>\n","protected":false},"excerpt":{"rendered":"<p>In GeoDirectory, when adding a CPT listing, you are required to select a default category for each listing.&nbsp; This default category is used to decide the map icon and the schema applied for that particular listing.&nbsp; If you are seeing incorrect schema in search engine results, you need to edit the categories to fix it.&nbsp; [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[766,767,768,769,758],"article\/categories":[432,211],"class_list":["post-924","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-default-category","gd_place_tags-map-schema","gd_place_tags-place-schema","gd_place_tags-schema-org","gd_place_tags-seo","gd_placecategory-how-tos","gd_placecategory-tips-tricks-more"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/924","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"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=924"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/924\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=924"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=924"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}