{"id":587,"date":"2020-05-27T16:05:56","date_gmt":"2020-05-27T16:05:56","guid":{"rendered":"https:\/\/directorist.com\/docs\/?post_type=wpwax_dservice&#038;p=587"},"modified":"2020-06-01T07:07:21","modified_gmt":"2020-06-01T07:07:21","slug":"search-result-page-setup","status":"publish","type":"wpwax_dservice","link":"https:\/\/directorist.com\/documentation\/dservice\/search-and-filter-settings\/search-result-page-setup\/","title":{"rendered":"Search Result Page Setup"},"content":{"rendered":"<p>Upon the theme installation, dService will automatically create the Search Results Page. In case of difficulties, or if you need to recreate the Search Result Page, you need to use the shortcode <code>[directorist_search_result]<\/code> and assign the page in <strong>Directory Listings \u2192 Pages, Links and Views \u2192 Search Result.<\/strong><\/p>\n<p>Search Home and Search Listings page are the same thing but, the Search Result page is not. When you click on &#8220;Search Listing&#8221; on the Search Listings\/Search Home page you will land on the Search Results Page.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/wmMvvL2.png\" \/><\/p>\n<p>Search Home and Search Listings page are the same thing but, the Search Result page is not. When you click on &#8220;Search Listing&#8221; on the Search Listings\/Search Home page you will land on the Search Results Page. To modify the Search Result page keep continuing the reading.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/w4e1zv7.png\" \/><\/p>\n<p><b>Display Header:<\/b>\u00a0You can enable\/disable the header which is responsible for the filter, listing view, and the sort functionality.<\/p>\n<p><b>Display Filters Button:\u00a0<\/b>Choose whether to display the filters button in the header.<\/p>\n<p><b>Filters Button Text:<\/b>\u00a0You can rename the filters button.<\/p>\n<p><b>Open Filter Fields:\u00a0<\/b>Directorist allows you to choose how the filter fields will open. You can select either \u201csliding\u201d or \u201coverlapping\u201d.<\/p>\n<p><b>Filter Fields:\u00a0<\/b>You can select which fields to show\/hide in the filter.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/sDxD2sM.png\" \/><\/p>\n<p><b>Location Source for Search:\u00a0<\/b>You can allow users to search for locations based on the Google Map API or your predefined locations.<\/p>\n<p><b>Default Radius Distance:<\/b> Directorist allows you to set a default radius distance for the location search. If you select or search for a location; for example \u201cNew York\u201d and your radius is set to 90 then all the listings will appear within 90km distance.<\/p>\n<p><b>Filter Buttons:\u00a0<\/b>You can select if you want to show the \u201cApply\u201d and \u201cReset\u201d buttons.<\/p>\n<p><b>Reset Filters Button text:\u00a0<\/b>Directorist lets you change the text of the Reset filters button.<\/p>\n<p><b>Apply Filters Button text:\u00a0<\/b>Directorist lets you change the text of the Apply filters button.<\/p>\n<p><b>Search Bar, Location, and Category Placeholder:\u00a0\u00a0<\/b>You can change the placeholder for example- you can change\u00a0<i>What are you looking for?<\/i>\u00a0-to your preferred text.<\/p>\n<p><b>Display &#8220;View As&#8221; Dropdown:\u00a0<\/b>If you want to provide the freedom of selecting the preferred way of viewing the listings to users then you may have this option enabled.<\/p>\n<p><b>&#8220;View As&#8221; Text:<\/b>\u00a0Directorist lets you change the text of the \u201cView As\u201d button on the header.<\/p>\n<p><b>&#8220;View As&#8221; Dropdown:<\/b>\u00a0There are three types of\u00a0<i>view<\/i>\u00a0available in the Directorist.<\/p>\n<ol>\n<li>Grid<\/li>\n<li>List<\/li>\n<li>Map<\/li>\n<\/ol>\n<p>You have the freedom to let the users choose their preferred way of viewing the searched listings.<\/p>\n<p><b>Display &#8220;Sort By&#8221; Dropdown:\u00a0<\/b>If you want to allow users to sort the searched listings then you need to have this option enabled.<\/p>\n<p><b>&#8220;Sort By&#8221; Text:<\/b>\u00a0You can change the text \u201cSort By\u201d and name it according to your choice.<\/p>\n<p><b>&#8220;Sort By&#8221; Dropdown:\u00a0<\/b>Users can choose from the dropdown how they want to sort the page.<\/p>\n<p><b>Order By: <\/b>Directorist gives you the flexibility to set the order of the search listings. You can select either to order by price, random, date, or title.<\/p>\n<p><b>Sort By: <\/b>You can select whether to sort by ascending(oldest to latest) or descending(latest to oldest) order.<\/p>\n<p><b>Paginate Search Result:<\/b> You have the flexibility to paginate the search results. If you prefer single-page scrolling then you may disable the pagination.<\/p>\n<p><b>Number of Columns:\u00a0<\/b>Directorist allows you to control the number of columns to be displayed on the \u201csearch result\u201d page. You can choose from 1 to 5 columns as the default view.<\/p>\n<p><b>Search Results Per Page: <\/b>By default 6 listings will be displayed on the search result page. However, you have the freedom to set any number of your choice.<\/p>\n<p><strong>Radius Search Unit:<\/strong> Select the search unit; whether you want to set the search radius unit in Kilometers or Miles.<\/p>\n","protected":false},"author":2296,"parent":0,"menu_order":0,"template":"","class_list":["post-587","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\/587","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=587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}