{"id":2738,"date":"2026-10-20T08:36:22","date_gmt":"2026-10-20T07:36:22","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/categories-vs-tags-vs-sub-categories\/"},"modified":"2026-10-20T08:39:00","modified_gmt":"2026-10-20T07:39:00","slug":"categories-vs-tags-vs-sub-categories","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/categories-vs-tags-vs-sub-categories\/","title":{"rendered":"Categories vs tags vs sub-categories in GeoDirectory"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In GeoDirectory, categories are the structure of your directory and you control them. Tags are free labels that listing owners add themselves. A sub-category is a category that has a parent.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Categories<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Only admins create categories, in Places &gt; Categories. Users choose from them on the add listing form, and a listing can be in more than one category (see <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/can-i-place-a-listing-in-multiple-categories\/\">Can I Place a Listing in Multiple Categories?<\/a>). Each category has its own archive page, and you can give it an icon, a description and a default listing image.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sub-categories<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A sub-category has exactly one parent. A parent can have many sub-categories, but one sub-category can&#8217;t sit under two parents. If you want &#8220;Italian&#8221; under both &#8220;Budget&#8221; and &#8220;Premium&#8221;, you have to create it twice, and search treats the two as separate categories.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When two groupings overlap like that, use categories for one and a custom field for the other. For restaurants, cuisine could be the categories (Italian, Chinese, American) and price range a Select custom field with Budget, Medium and Premium as options.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Tags<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Tags are free text. Users type their own on the add listing form, unless you <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/code-snippets\/how-to-restrict-tags-to-existing-tags-only\/\">restrict tags to existing tags only<\/a>. Tags have archive pages too. More in <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/first-steps\/using-tags-in-geodirectory\/\">Using Tags in GeoDirectory<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How search uses them<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The keyword box in GD &gt; Search matches listing titles, descriptions, category names and tag names. A search for &#8220;pizza&#8221; finds listings in a Pizza category and listings tagged pizza. It does not look inside custom fields.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Advanced Search add-on adds a category dropdown to the search bar and filters for custom fields. In the restaurant example, a visitor can pick the Italian category and tick Budget in the price range filter in one search. See <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/how-to-filter-search-results-by-category\/\">How to filter search results by category?<\/a> and <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/how-does-the-geodirectory-search-work\/\">How does the GeoDirectory Search work<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In GeoDirectory, categories are the structure of your directory and you control them. Tags are free labels that listing owners add themselves. A sub-category is a category that has a parent. Categories Only admins create categories, in Places &gt; Categories. Users choose from them on the add listing form, and a listing can be in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[],"article\/categories":[421,213],"class_list":["post-2738","gd_place","type-gd_place","status-publish","hentry","gd_placecategory-core-features","gd_placecategory-extensions-features"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2738","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=2738"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2738\/revisions"}],"predecessor-version":[{"id":2848,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2738\/revisions\/2848"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2738"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2738"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}