{"id":589,"date":"2020-05-27T16:08:19","date_gmt":"2020-05-27T16:08:19","guid":{"rendered":"https:\/\/directorist.com\/docs\/?post_type=wpwax_dservice&#038;p=589"},"modified":"2024-03-20T14:58:00","modified_gmt":"2024-03-20T08:58:00","slug":"advanced-search-in-all-listings-page","status":"publish","type":"wpwax_dservice","link":"https:\/\/directorist.com\/documentation\/dservice\/search-and-filter-settings\/advanced-search-in-all-listings-page\/","title":{"rendered":"Advanced Search in All Listings Page"},"content":{"rendered":"<h3>Displaying Advanced Filter in the All Listings Archive Page<\/h3>\n<p>You can display advanced filter in the All Listings Archive Page in one of the following two ways.<\/p>\n<ol>\n<li><strong>Using shortcode attributes<\/strong>: the shortcode for displaying Directorist search listing <code>[directorist_all_listing]<\/code>\u00a0has a number of additional attributes. You can use the following attribute to show\/hide the advanced filter in the All Listings Archive page. You can find the list of all attributes\u00a0<a href=\"https:\/\/directorist.com\/documentation\/directorist\/shortcodes\/all-listing-page\/\" target=\"_blank\" rel=\"noopener noreferrer\" data-wplink-edit=\"true\">here<\/a>.<br \/>\nThe\u00a0<strong>advanced_filter<\/strong> attribute: You can hide\/show the advanced filter (the &#8220;filters&#8221; button) by this attribute. Options available: yes | no. The default value is no. You can display filters using this shortcode\u2193<\/p>\n<pre>[directorist_all_listing\u00a0advanced_filter=\"yes\" ]<\/pre>\n<\/li>\n<li><strong>From Directory Settings Page<\/strong>: You can display or hide the advanced search filters in the Directorist All Listings Archive Page from the Directorist Listings Settings Page. Visit\u00a0<strong>Dashboard \u2192 Directory listings \u2192\u00a0Directory Settings \u2192 Listings Settings \u2192 General Listings<\/strong>\u00a0page. In the LISTINGS PAGE SETTINGS section, set the\u00a0<strong>Display Filters Button<\/strong>\u00a0option to &#8220;<strong>YES<\/strong>&#8221; to display the advanced filter in the All Listings Archive Page. There are also some filter-related options available on this page. You can use these options to customize the filters however you like. You can control which fields to show\/hide in the filter form using these options. The description of them is given below.<\/li>\n<\/ol>\n<figure id=\"attachment_2854\" class=\"wp-caption aligncenter\" aria-describedby=\"caption-attachment-2854\"><a href=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/05\/Customizing-Advanced-Filters-from-the-Settings-Page.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2854 size-full lazyloaded\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/05\/Customizing-Advanced-Filters-from-the-Settings-Page.png\" alt=\"Customizing Advanced Filters from the Settings Page\" width=\"1261\" height=\"1407\" data-lazy-src=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/05\/Customizing-Advanced-Filters-from-the-Settings-Page.png\" data-was-processed=\"true\" \/><\/a><figcaption id=\"caption-attachment-2854\" class=\"wp-caption-text\">Customizing Advanced Filters from the Settings Page<\/figcaption><\/figure>\n<ul>\n<li><strong>Filters Button Text<\/strong>: You can modify the text of the &#8220;Filters&#8221; button using this field. Enter any text you want to show in the &#8220;Filter&#8221; button in this text field. The default is &#8220;Filters&#8221;.<\/li>\n<li><strong>Open Filter Fields<\/strong>: You can set how you would like to display the filter form fields when a user clicks on the filter button. Available Options: <strong>Sliding<\/strong>\u00a0|\u00a0<strong>Overlapping<\/strong>. Select the option you like and see the change in the front end. The default is Sliding.<\/li>\n<li><strong>Filter Fields<\/strong>: Check the fields you would like to in the search filter in this option. Some fields may need an additional add-on to work properly. For example, the Open Now filter filed needs Directorist Business Hour extension to work properly.<\/li>\n<li><strong>Filters Button:<\/strong>\u00a0Check the Reset and Apply button if you want to show them in the filter form. Uncheck them to hide them.<\/li>\n<li><strong>Reset Filters Button Text<\/strong>: You can modify the text of the &#8220;Reset Filters&#8221; button using this field. Enter any text you want to show in the &#8220;Reset Filter&#8221; button in this text field. The default is &#8220;Reset Filters&#8221;.<\/li>\n<li><strong>Apply Filters Button Text<\/strong>: You can modify the text of the &#8220;Apply Filters&#8221; button using this field. Enter any text you want to show in the &#8220;Apply Filters&#8221; button in this text field. The default is &#8220;Apply Filters&#8221;.<\/li>\n<\/ul>\n<p>You can also check other settings on this page to customize the look and feel of the Directorist All Listings Archive Page.<\/p>\n<figure id=\"attachment_2855\" class=\"wp-caption aligncenter\" aria-describedby=\"caption-attachment-2855\"><a href=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/05\/Filter-in-the-Listing-Archive-Page.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2855 size-full lazyloaded\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/05\/Filter-in-the-Listing-Archive-Page.png\" alt=\"Filter in the Listing Archive Page\" width=\"1039\" height=\"2033\" data-lazy-src=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/05\/Filter-in-the-Listing-Archive-Page.png\" data-was-processed=\"true\" \/><\/a><\/figure>\n","protected":false},"author":2296,"parent":0,"menu_order":0,"template":"","class_list":["post-589","wpwax_dservice","type-wpwax_dservice","status-publish","hentry","wpwax_dservice_category-search-and-filter-settings"],"acf":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_dservice\/589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_dservice"}],"about":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/types\/wpwax_dservice"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/users\/2296"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/media?parent=589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}