{"id":371,"date":"2021-09-06T13:39:02","date_gmt":"2021-09-06T13:39:02","guid":{"rendered":"https:\/\/utillz.com\/docs\/heilz\/listing\/collections\/"},"modified":"2021-09-09T09:42:34","modified_gmt":"2021-09-09T09:42:34","slug":"collections","status":"publish","type":"page","link":"https:\/\/utillz.com\/docs\/heilz\/listing\/collections\/","title":{"rendered":"Collections"},"content":{"rendered":"<p>There is another grouping method for your listings, using collections. It is very simple and easy to use. The collections are using a standard WordPress custom post type.<\/p>\n<h3 id=\"how-to-create-a-collection\">How to create a collection?<\/h3>\n<p>Login to your admin dashboard, then navigate to <strong>Listing Types <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Collections<\/strong>, and here you will find all your available collections. If you edit (or create) one collection, you will find additional options like <strong>Tags<\/strong>, which allows you to make some basic relations between your collections and listings.<\/p>\n<p>There is another option: <strong>Listings<\/strong>, which will display all the attached listings to that specific collection.<\/p>\n<h3 id=\"attaching-your-listings-to-any-specific-collection\">Attaching your listings to any specific collection<\/h3>\n<p>There is another way to attach your listings to a collection. You can create a new <a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/listing\/fields\/\">custom field<\/a> for collection inside your listing fields, by going to <strong>Listing Types <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> (edit any listing type) <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Listing <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Fields<\/strong>, then use the module drop-down and add <strong>Collection<\/strong> field. Now you will be able to define the listing collection through the submission process.<\/p>\n<h3 id=\"create-a-page-to-display-all-the-available-collections\">Create a page to display all the available collections<\/h3>\n<p>If you need such a page, simply navigate to <strong>Pages <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Add New<\/strong> and create a blank page, just name it properly. Then go to <strong>Listing Types <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Settings <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> General <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Pages<\/strong>, and use the <strong>Collections page<\/strong> options to select that same page you have just created. <a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/content\/pages\/\">Learn more about pages<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There is another grouping method for your listings, using collections. It is very simple and easy to use. The collections are using a standard WordPress &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":336,"menu_order":38,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages\/371"}],"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=371"}],"version-history":[{"count":0,"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages\/371\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages\/336"}],"wp:attachment":[{"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/media?parent=371"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}