{"id":27,"date":"2023-09-14T11:36:07","date_gmt":"2023-09-14T11:36:07","guid":{"rendered":"https:\/\/doc.freevision.me\/luxed\/?p=27"},"modified":"2023-09-14T11:36:07","modified_gmt":"2023-09-14T11:36:07","slug":"add-attributes","status":"publish","type":"post","link":"https:\/\/doc.freevision.me\/luxed\/add-attributes\/","title":{"rendered":"Add Attributes"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Advanced Search: Add extra fields to the search availability form\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/w1vKA5gqhAQ?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Attributes are <strong>advanced search filters<\/strong> you can add to the default property search form fields.<\/p>\n\n\n\n<p>You can also opt for displaying attributes as extra details in your property description.<\/p>\n\n\n\n<p>To add attributes, go to the Accommodation tab \u2192 Attributes \u2192 Add New.<\/p>\n\n\n\n<p>There, specify the Title of your custom attribute, for example, Location.<\/p>\n\n\n\n<p>Then click Configure Terms and add all the possible terms for this attribute, e.g. London, Paris, New York. While adding the terms, you need to fill in at least the Name field and click Add New. There is no limitation to the number of attributes or terms that can be created.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/attributes.png\" alt=\"attributes\" class=\"wp-image-1156519\"\/><\/figure><\/div>\n\n\n<p>You can influence the order in which the terms appear on the website in the Accommodation tab \u2192 Attributes.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/attributes-accommodation.jpg\" alt=\"attributes accommodation\" class=\"wp-image-1156520\"\/><\/figure><\/div>\n\n\n<p>Open an attribute and select an order in the Order field. The default order is Custom. The terms can also be sorted by Term ID, Name and Numeric Name. These attributes need to be assigned to your accommodation types in the Accommodation tab \u2192 Accommodation Types. Hover over an accommodation type and click Edit. Tick the terms related to this accommodation type in the Attributes Section in the right hand column.<\/p>\n\n\n\n<p>To add all or selected attributes as extra search filters to the search form, make sure to copy and paste the exact attribute names (separated by comma) to the availability search block\/shortcode:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/attribute-location-1024x672.jpg\" alt=\"attribute location\" class=\"wp-image-1156524\"\/><\/figure><\/div>\n\n\n<p>If you tick the \u201cVisible in details\u201d box, this information will appear in the property listing:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/doc.freevision.me\/luxed\/wp-content\/uploads\/sites\/25\/2023\/09\/proeprty-details.jpg\" alt=\"proeprty details\" class=\"wp-image-1156525\"\/><\/figure><\/div>","protected":false},"excerpt":{"rendered":"<p>Attributes are advanced search filters you can add to the default property search form fields. You can also opt for displaying attributes as extra details in your property description. To add attributes, go to the Accommodation tab \u2192 Attributes \u2192 Add New. There, specify the Title of your custom attribute, for example, Location. Then click [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts\/27"}],"collection":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/comments?post=27"}],"version-history":[{"count":1,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":32,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/posts\/27\/revisions\/32"}],"wp:attachment":[{"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/media?parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/categories?post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doc.freevision.me\/luxed\/wp-json\/wp\/v2\/tags?post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}