{"id":2737,"date":"2026-10-20T08:36:22","date_gmt":"2026-10-20T07:36:22","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/can-i-add-custom-taxonomies-to-geodirectory-listings\/"},"modified":"2026-10-20T08:39:00","modified_gmt":"2026-10-20T07:39:00","slug":"can-i-add-custom-taxonomies-to-geodirectory-listings","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/can-i-add-custom-taxonomies-to-geodirectory-listings\/","title":{"rendered":"Can I add custom taxonomies to GeoDirectory listings?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">GeoDirectory gives each post type one category taxonomy and one tag taxonomy. Taxonomies you register yourself, or with a plugin such as Pods or Custom Post Type UI, won&#8217;t appear on the GeoDirectory add listing form, in the custom fields screen or in GeoDirectory search. For an extra way to group listings, use a custom field.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Use a custom field in place of a taxonomy<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A select, multiselect or radio custom field does the job of an extra taxonomy. You set the list of options, users pick from it on the add listing form, and the value can be shown on the listing.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to Places &gt; Settings &gt; Custom Fields.<\/li>\n\n\n\n<li>Add a Multiselect field, or a Select field if a listing should have only one value.<\/li>\n\n\n\n<li>In Option Values, enter each option on a new line. <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/adding-options-to-geodirectory-custom-fields\/\">Adding Options to GeoDirectory Custom Fields<\/a> explains the format.<\/li>\n\n\n\n<li>To display the value, pick where under &#8220;Show in extra output location&#8221;, or add it to a tab.<\/li>\n\n\n\n<li>Save the field.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">With the Advanced Search add-on, the field can also be a search filter, so visitors can narrow results by one or more of its values. See <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/advanced-search\/how-to-add-a-filter-to-the-advanced-search-filters\/\">How to Add a Filter to the Advanced Search Filters?<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Using categories as a flat list<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If this grouping is the main way people browse your directory, categories may suit it better, as every category gets its own archive page. Categories without sub-categories work like a flat, tag-style list.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">On the Category field in Places &gt; Settings &gt; Custom Fields, &#8220;Category display type&#8221; sets whether users pick one category (select or radio) or several (multiselect or checkbox). To cap how many categories a listing can have, set Category Limit on a Pricing Manager package, or add this snippet:<\/p>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-php\">add_filter( &#039;geodir_cfi_post_categories_limit&#039;, &#039;my_gd_category_limit&#039;, 10, 3 );\nfunction my_gd_category_limit( $limit, $post, $package ) {\n\treturn 5; \/\/ Maximum number of categories per listing.\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The limit is used when the display type is multiselect or checkbox. The <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/useful-plugins\/code-snippets-plugin\/\">Code Snippets plugin<\/a> is the easiest way to add snippets.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sharing categories between post types<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Each post type has its own categories, so two post types can&#8217;t share one set of terms. Create the categories in each post type. Exporting the categories from one post type and importing them into the other in GeoDirectory &gt; Settings &gt; Import\/Export can save time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GeoDirectory gives each post type one category taxonomy and one tag taxonomy. Taxonomies you register yourself, or with a plugin such as Pods or Custom Post Type UI, won&#8217;t appear on the GeoDirectory add listing form, in the custom fields screen or in GeoDirectory search. For an extra way to group listings, use a custom [&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-2737","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\/2737","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=2737"}],"version-history":[{"count":1,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2737\/revisions"}],"predecessor-version":[{"id":2847,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/2737\/revisions\/2847"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=2737"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=2737"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=2737"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}