{"id":185,"date":"2020-05-08T23:18:50","date_gmt":"2020-05-08T23:18:50","guid":{"rendered":"https:\/\/directorist.com\/docs\/?post_type=wpwax_directorist&#038;p=185"},"modified":"2021-07-13T23:47:58","modified_gmt":"2021-07-13T17:47:58","slug":"search-result-page-setup","status":"publish","type":"wpwax_directorist","link":"https:\/\/directorist.com\/documentation\/directorist\/search-and-filter-settings\/search-result-page-setup\/","title":{"rendered":"Search Result Page Setup"},"content":{"rendered":"\n<p>Upon Installation, Directorist 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>Settings \u2192 Page Set Up <strong>\u2192<\/strong> Pages, Links and Views \u2192 Listing Search Result Page.<\/strong><\/p>\n\n\n\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\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/wmMvvL2.png\" alt=\"\" \/><\/figure><\/div>\n\n\n\n<p>Search Home and Search Listings page are the same thing but, the Search Result page is not. When you click on &#8220;<strong>Search Listing<\/strong>&#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\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"794\" src=\"https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/advanced-search-1-1024x794.png\" alt=\"\" class=\"wp-image-962\" srcset=\"https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/advanced-search-1-1024x794.png 1024w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/advanced-search-1-300x233.png 300w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/advanced-search-1-768x596.png 768w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/advanced-search-1.png 1218w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p><b>Display Header:<\/b>&nbsp;You can enable\/disable the header which is responsible for the filter, listing view, and the sort functionality.<\/p>\n\n\n\n<p><b>Display Filters Button:&nbsp;<\/b>Choose whether to display the filters button in the header.<\/p>\n\n\n\n<p><b>Filters Button Text:<\/b>&nbsp;You can rename the filters button.<\/p>\n\n\n\n<p><b>Open Filter Fields:&nbsp;<\/b>Directorist allows you to choose how the filter fields will open. You can select either \u201csliding\u201d or \u201coverlapping\u201d.<\/p>\n\n\n\n<p><b>Filter Fields:&nbsp;<\/b>You can select which fields to show\/hide in the filter.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"590\" height=\"1024\" src=\"https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/Search-Result-Page-590x1024.png\" alt=\"\" class=\"wp-image-965\" srcset=\"https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/Search-Result-Page-590x1024.png 590w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/Search-Result-Page-173x300.png 173w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/Search-Result-Page-768x1334.png 768w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/Search-Result-Page-885x1536.png 885w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/Search-Result-Page-1179x2048.png 1179w, https:\/\/directorist.com\/documentation\/wp-content\/uploads\/sites\/5\/2021\/04\/Search-Result-Page.png 1188w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/figure><\/div>\n\n\n\n<p><b>Location Source for Search:&nbsp;<\/b>You can allow users to search for locations based on the Google Map API or your predefined locations.<\/p>\n\n\n\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\n\n\n<p><b>Filter Buttons:&nbsp;<\/b>You can select if you want to show the \u201cApply\u201d and \u201cReset\u201d buttons.<\/p>\n\n\n\n<p><b>Reset Filters Button text:&nbsp;<\/b>Directorist lets you change the text of the Reset filters button.<\/p>\n\n\n\n<p><b>Apply Filters Button text:&nbsp;<\/b>Directorist lets you change the text of the Apply filters button.<\/p>\n\n\n\n<p><b>Search Bar, Location, and Category Placeholder:&nbsp;&nbsp;<\/b>You can change the placeholder for example- you can change&nbsp;<i>What are you looking for?<\/i>&nbsp;-to your preferred text.<\/p>\n\n\n\n<p><b>Display &#8220;View As&#8221; Dropdown:&nbsp;<\/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\n\n\n<p><b>&#8220;View As&#8221; Text:<\/b>&nbsp;Directorist lets you change the text of the \u201cView As\u201d button on the header.<\/p>\n\n\n\n<p><b>&#8220;View As&#8221; Dropdown:<\/b>&nbsp;There are three types of&nbsp;<i>view<\/i>&nbsp;available in the Directorist.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Grid<\/li><li>List<\/li><li>Map<\/li><\/ol>\n\n\n\n<p>You have the freedom to let the users choose their preferred way of viewing the searched listings.<\/p>\n\n\n\n<p><b>Display &#8220;Sort By&#8221; Dropdown:&nbsp;<\/b>If you want to allow users to sort the searched listings then you need to have this option enabled.<\/p>\n\n\n\n<p><b>&#8220;Sort By&#8221; Text:<\/b>&nbsp;You can change the text \u201cSort By\u201d and name it according to your choice.<\/p>\n\n\n\n<p><b>&#8220;Sort By&#8221; Dropdown:&nbsp;<\/b>Users can choose from the dropdown how they want to sort the page.<\/p>\n\n\n\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\n\n\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\n\n\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\n\n\n<p><b>Number of Columns:&nbsp;<\/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\n\n\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\n\n\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\n\n\n<p>And that&#8217;s all about Search Result Page Setup.<\/p>\n","protected":false},"author":2298,"parent":0,"menu_order":0,"template":"","class_list":["post-185","wpwax_directorist","type-wpwax_directorist","status-publish","hentry","wpwax_directorist_category-search-and-filter-settings"],"acf":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_directorist\/185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_directorist"}],"about":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/types\/wpwax_directorist"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/users\/2298"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/media?parent=185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}