{"id":331,"date":"2021-04-29T03:35:50","date_gmt":"2021-04-29T03:35:50","guid":{"rendered":"https:\/\/utillz.com\/docs\/heilz\/explore\/custom-taxonomies\/"},"modified":"2021-04-29T03:35:50","modified_gmt":"2021-04-29T03:35:50","slug":"custom-taxonomies","status":"publish","type":"page","link":"https:\/\/utillz.com\/docs\/heilz\/explore\/custom-taxonomies\/","title":{"rendered":"Custom taxonomies"},"content":{"rendered":"<p>The custom taxonomies are a simple way to organize your content. When you use a taxonomy, you\u00e2\u20ac\u2122re grouping similar things together. The taxonomy refers to the sum of those groups.<\/p>\n<p>Example: A listing type, called <strong>Cars<\/strong>, needs additional categorization like <strong>Vehicle type<\/strong> &#8211; <strong>Sedan<\/strong>, <strong>Coupe<\/strong>, <strong>SUV<\/strong> and so on&#8230; You can use the custom taxonomy to manage that categorization.<\/p>\n<p>You can add unlimited number of taxonomies and attach it to multiple listing types.<\/p>\n<h4 id=\"how-to-create-a-custom-taxonomy\">How to create a custom taxonomy<\/h4>\n<p>Continue by going to <strong>Listing types <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Settings <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Listings <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Custom Taxonomies<\/strong> and click <strong>Add taxonomy<\/strong> button.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-334\" src=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Settings-\u2039-Heilz-\u2014-WordPress-1.png\" alt=\"\" width=\"1423\" height=\"971\" srcset=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Settings-\u2039-Heilz-\u2014-WordPress-1.png 1423w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Settings-\u2039-Heilz-\u2014-WordPress-1-300x205.png 300w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Settings-\u2039-Heilz-\u2014-WordPress-1-1024x699.png 1024w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Settings-\u2039-Heilz-\u2014-WordPress-1-768x524.png 768w\" sizes=\"(max-width: 1423px) 100vw, 1423px\" \/><\/p>\n<p>The new taxonomy will appear in your admin sidebar, under the Listings tab. Click it, and add some terms.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-333\" src=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Vehicle-type-\u2039-Heilz-\u2014-WordPress.png\" alt=\"\" width=\"994\" height=\"300\" srcset=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Vehicle-type-\u2039-Heilz-\u2014-WordPress.png 994w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Vehicle-type-\u2039-Heilz-\u2014-WordPress-300x91.png 300w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Vehicle-type-\u2039-Heilz-\u2014-WordPress-768x232.png 768w\" sizes=\"(max-width: 994px) 100vw, 994px\" \/><\/p>\n<h4 id=\"how-to-use-your-custom-taxonomy-inside-a-search-form\">How to use your custom taxonomy inside a search form<\/h4>\n<p>There are specific search fields, that allow you to do that <a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/explore\/search-forms\/\">search form<\/a>, like the <strong>Taxonomy<\/strong> field type.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone wp-image-332 size-full\" src=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Edit-Search-Form-\u2039-Heilz-\u2014-WordPress.png\" alt=\"\" width=\"1131\" height=\"470\" srcset=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Edit-Search-Form-\u2039-Heilz-\u2014-WordPress.png 1131w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Edit-Search-Form-\u2039-Heilz-\u2014-WordPress-300x125.png 300w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Edit-Search-Form-\u2039-Heilz-\u2014-WordPress-1024x426.png 1024w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Edit-Search-Form-\u2039-Heilz-\u2014-WordPress-768x319.png 768w\" sizes=\"(max-width: 1131px) 100vw, 1131px\" \/><\/p>\n<h4 id=\"use-taxonomies-inside-the-single-listing-page\">Use taxonomies inside the single listing page<\/h4>\n<p>You can also use your taxonomies inside the single listing page, using the <strong>Taxonomy<\/strong> module. Just edit your listing type, and go to <strong>Display <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Single Page<\/strong>, use the drop-down menu to select the Taxonomy module and click the button to add new.<\/p>\n<p>Example on the front-end:<br \/>\n<img loading=\"lazy\" class=\"alignnone size-full wp-image-335\" src=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Vivamus-aliquam-libero-sed-ultricies-auctor-vehicula-non-\u2013-Booking-1.png\" alt=\"\" width=\"848\" height=\"355\" srcset=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Vivamus-aliquam-libero-sed-ultricies-auctor-vehicula-non-\u2013-Booking-1.png 848w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Vivamus-aliquam-libero-sed-ultricies-auctor-vehicula-non-\u2013-Booking-1-300x126.png 300w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Vivamus-aliquam-libero-sed-ultricies-auctor-vehicula-non-\u2013-Booking-1-768x322.png 768w\" sizes=\"(max-width: 848px) 100vw, 848px\" \/><br \/>\nLearn more about <a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/listing\/display\/single-listing-page\/\">building your single listing page<\/a>.<\/p>\n<h4 id=\"pre-defined-taxonomies\">Pre-defined taxonomies<\/h4>\n<p>Our framework will automatically create the following taxonomies for you:<\/p>\n<ul>\n<li>Categories<\/li>\n<li>Regions<\/li>\n<li>Tags<\/li>\n<\/ul>\n<p>You don&#8217;t need to use these, but it is a simple example, how to organize your content using the taxonomies.<\/p>\n<h4 id=\"taxonomy-public-visibility-and-archive-page\">Taxonomy public visibility and archive page<\/h4>\n<p>The archive page for your custom taxonomies work like a standard WordPress archive page. You can manage this while creating your taxonomy, just don&#8217;t forger to mark the option <label class=\" mb-0 \"><strong>Public term<\/strong>. Then edit any of your custom terms from your admin dashboard and click the button <strong>View Category<\/strong> that appears on the top admin bar. This will lead you to the public archive page of your term and this page will render all the listings, related to that term.<\/label><\/p>\n<p>For the built-in taxonomies, you can manage this by going to <strong>Listing Types <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Settings <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Listings <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Built-in Taxonomies<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The custom taxonomies are a simple way to organize your content. When you use a taxonomy, you\u00e2\u20ac\u2122re grouping similar things together. The taxonomy refers to &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":329,"menu_order":17,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages\/331"}],"collection":[{"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/comments?post=331"}],"version-history":[{"count":0,"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages\/331\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages\/329"}],"wp:attachment":[{"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/media?parent=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}