{"id":216,"date":"2020-05-08T23:35:04","date_gmt":"2020-05-08T23:35:04","guid":{"rendered":"https:\/\/directorist.com\/docs\/?post_type=wpwax_directorist&#038;p=216"},"modified":"2022-08-31T09:24:59","modified_gmt":"2022-08-31T03:24:59","slug":"search-listings","status":"publish","type":"wpwax_directorist","link":"https:\/\/directorist.com\/documentation\/directorist\/shortcodes\/search-listings\/","title":{"rendered":"Search Listings"},"content":{"rendered":"<div id=\"eckb-article-content-header\">\n<h3 id=\"12177\" class=\"eckb-article-title kb-article-id\">Search Listings<\/h3>\n<\/div>\n<div id=\"eckb-article-content-body\">\n<div id=\"kb-article-content\">\n<p>You can display the directorist listings search form\/bar on any page\/post using the following shortcode<\/p>\n<p><code>[directorist_search_listing]<\/code><\/p>\n<p>The shortcode\u00a0<code>[directorist_search_listing]<\/code>\u00a0has many parameters to customize the display of the search form. Let&#8221;s have a look at the available parameters and their available values with some description.<\/p>\n<ul>\n<li><strong>logged_in_user_only<\/strong>: You can make search listings page only visible for the logged-in users using this parameter. Options available: yes | no. Example:\n<pre>[directorist_search_listing logged_in_user_only=\"no\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>redirect_page_url<\/strong>: Forward\/redirect search listings page using this parameter. Example:\n<pre>[directorist_search_listing redirect_page_url=\"www.aazztech.com\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>search_bar_title<\/strong>: You can modify the search bar title by these attributes. The default value is Search here. Example usage:\n<pre>[directorist_search_listing search_bar_title=\"Search here\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong><span class=\"s1\">show_title_subtitle<\/span><\/strong>: You can show\/hide search subtitles using this attribute. Available Options: yes | no. The default value is &#8220;yes&#8221;. Example usage:\n<pre>[directorist_search_listing show_title_subtitle=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>search_bar_sub_title<\/strong>: You can modify the search bar subtitle by these attributes. The default value is &#8220;Find the best match of your interest&#8221;. Example usage:\n<pre>[directorist_search_listing search_bar_sub_title=\"Find the best match of your interest\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>text_field<\/strong>: You can show\/hide the text field by this attribute. Available Options: yes | no. The default value is &#8220;yes&#8221;. Example usage:\n<pre>[directorist_search_listing filter_text=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>category_field<\/strong>: You can show\/hide the category field by this attribute. Options available: yes |no. The default value is &#8220;yes&#8221;. Example usage:\n<pre>[directorist_search_listing filter_category=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>location_field<\/strong>: You can show\/hide the location field by this attribute. Options available: yes | no. The default value is &#8220;yes&#8221;. Example usage:\n<pre>[directorist_search_listing filter_location=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>search_button_text<\/strong>: You can change the search button text by these attributes. The default value is &#8220;Search Listing&#8221;. Example usage:\n<pre>[directorist_search_listing search_button_text=\"Search Listing\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>more_filters_button<\/strong>: You can hide\/show the &#8220;more filters&#8221; button by this attribute. Options available: yes | no. The default value is yes. Example usage:\n<pre>[directorist_search_listing more_filters_button=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>more_filters_text<\/strong>: You can change more filters text by this attribute. The default value is More Filters. Example usage:\n<pre>[directorist_search_listing more_filters_text=\"More Filters\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>price_min_max_field<\/strong>: You can show\/hide price minimum and maximum fields by this attribute. Available Options: yes | no. The default value is &#8220;yes&#8221;. Example usage:\n<pre>[directorist_search_listing price_min_max_field=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>price_range_field<\/strong>: You can show\/hide the price range field by this attribute. Available Options: yes | no. The default value is &#8220;no&#8221;. Example usage:\n<pre>[directorist_search_listing price_range_field=\"no\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>rating_field<\/strong>: You can show\/hide the rating_field field by this attribute. Available Options: yes | no. The default value is &#8220;yes&#8221;. Example usage:\n<pre>[directorist_search_listing rating_field=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>tag_field<\/strong>: You can show\/hide the tag field by this attribute. Available Options: yes | no. The default value is &#8220;yes&#8221;. Example usage:\n<pre>[directorist_search_listing tag_field=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>open_now_field<\/strong>: You can show\/hide open now field by this attribute. Available Options: yes | no. The default value is &#8220;no&#8221;. Example usage:\n<pre>[directorist_search_listing open_now_field=\"no\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>custom_fields<\/strong>: You can show\/hide open custom fields by this attribute. Available Options: yes | no. The default value is &#8220;yes&#8221;. Example usage:\n<pre>[directorist_search_listing custom_fields=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>website_field<\/strong>: You can show\/hide the website field by this attribute. Available Options: yes | no. The default value is &#8220;no&#8221;. Example usage:\n<pre>[directorist_search_listing website_field=\"no\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>email_field<\/strong>: You can show\/hide the email field by this attribute. Available Options: yes | no. The default value is &#8220;no&#8221;. Example usage:\n<pre>[directorist_search_listing email_field=\"no\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>phone_field<\/strong>: You can show\/hide the phone field by this attribute. Available Options: yes | no. The default value is &#8220;no&#8221;. Example usage:\n<pre>[directorist_search_listing phone_field=\"no\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>fax<\/strong>: You can show\/hide the fax field by this attribute. Available Options: yes | no. The default value is &#8220;no&#8221;. Example usage:\n<pre>[directorist_search_listing fax=\"no\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>address_field<\/strong>: You can show\/hide the address field by this attribute. Available Options: yes | no. The default value is &#8220;no&#8221;. Example usage:\n<pre>[directorist_search_listing address_field=\"no\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>zip_code_field<\/strong>: You can show\/hide the zip\/postcode field by this attribute. Available Options: yes | no. The default value is &#8220;no&#8221;. Example usage:\n<pre>[directorist_search_listing zip_code_field=\"no\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>reset_filters_button<\/strong>: You can show\/hide the reset filters button by this attribute. Available Options: yes | no. The default value is &#8220;yes&#8221;. Example usage:\n<pre>[directorist_search_listing reset_filters_button=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>apply_filters_button<\/strong>: You can show\/hide the apply filters button by this attribute. Available Options: yes | no. The default value is &#8220;yes&#8221;. Example usage:\n<pre>[directorist_search_listing apply_filters_button=\"yes\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>reset_filters_text<\/strong>: You can modify reset filters text by these attributes. The default value is Reset Filters. Example usage:\n<pre>[directorist_search_listing reset_filters_text=\"Reset Filters\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>apply_filters_text<\/strong>: You can modify apply filters text by these attributes. The default value is &#8220;Apply Filters&#8221;. Example usage:\n<pre>[directorist_search_listing apply_filters_text=\"Apply Filters\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<li><strong>more_filters_display:\u00a0<\/strong>You can display more filters by overlapping, sliding, and always_open. The default value is &#8220;overlapping &#8220;. Example usage:\n<pre>[directorist_search_listing more_filters_display=\"overlapping\"]<\/pre>\n<div class=\"open_grepper_editor\" title=\"Edit &amp; Save To Grepper\"><\/div>\n<\/li>\n<\/ul>\n<h3 id=\"sample-screenshot\">Sample Screenshot<\/h3>\n<p>The shortcode output on your site may be a little different because new features are being added and modified with every update.<\/p>\n<div id=\"attachment_2558\" class=\"wp-caption aligncenter\">\n<figure id=\"attachment_2578\" class=\"wp-caption aligncenter\" aria-describedby=\"caption-attachment-2578\"><a href=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/05\/search-listing.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-2578 lazyloaded\" src=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/05\/search-listing.png\" alt=\"search listing\" width=\"1265\" height=\"1057\" data-lazy-src=\"https:\/\/directorist.com\/wp-content\/uploads\/2019\/05\/search-listing.png\" data-was-processed=\"true\" \/><\/a><\/figure>\n<p>That&#8217;s all about Search Listings page shortcodes.<\/p>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":2298,"parent":0,"menu_order":0,"template":"","class_list":["post-216","wpwax_directorist","type-wpwax_directorist","status-publish","hentry","wpwax_directorist_category-shortcodes"],"acf":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/documentation\/wp-json\/wp\/v2\/wpwax_directorist\/216","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=216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}