{"id":368489,"date":"2025-10-23T12:33:32","date_gmt":"2025-10-23T06:33:32","guid":{"rendered":"https:\/\/directorist.com\/?post_type=docs&#038;p=368489"},"modified":"2025-10-23T14:38:00","modified_gmt":"2025-10-23T08:38:00","password":"","slug":"search-results-2","status":"publish","type":"docs","link":"https:\/\/directorist.com\/docs\/search-results-2\/","title":{"rendered":"Search Results"},"content":{"rendered":"\n<p>You can display the result of a search of listings on any page by using this&nbsp;<strong>Search Result Listing:<\/strong><code>[directorist_search_result]<\/code><code>[directorist_search_result]<\/code>&nbsp;has many parameters to customize the display of all listings in the search result page. Let\u2019s have a look at the available parameters and their available values with some description.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters:<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>view<\/strong>: You can display the search results in a list, grid &amp; map view layout. <br>Available Options: list | grid | map view. The default value is the grid. <br><br>Example:\u00a0[directorist_search_result view=&#8221;grid&#8221;]<br><\/li>\n\n\n\n<li><strong>order by<\/strong>: You can order the search results using this parameter. Available Options: title, date | price. The default is the date. <br><br>Example:\u00a0[directorist_search_result orderby=&#8221;date&#8221;]<br><\/li>\n\n\n\n<li><strong>order<\/strong>: You can sort the result in ascending or descending order using this option. Available Options: asc | desc. The default is asc.<br><br>Example:\u00a0[directorist_search_result order=&#8221;asc&#8221;]<br><\/li>\n\n\n\n<li><strong>logged_in_user_only<\/strong>: You can make search result only visible for the logged-in users using this parameter. Options available: yes | no.<br><br>Example:\u00a0[directorist_search_result logged_in_user_only=&#8221;no&#8221;]<br><\/li>\n\n\n\n<li><strong>redirect_page_url<\/strong>: Forward\/redirect search result page using this parameter. <br><br>Example:\u00a0[directorist_search_result redirect_page_url=&#8221;www.aazztech.com&#8221;]<br><\/li>\n\n\n\n<li><strong>listings_per_page<\/strong>: Number of listings to show in the result per page. The default is 6. <br><br>Example:\u00a0[directorist_search_result listings_per_page=&#8221;6&#8243;]<br><\/li>\n\n\n\n<li><strong>featured_only<\/strong>: Display only featured listings in the result. Options available: yes | no. <br><br>Example:\u00a0[directorist_search_result featured_only=&#8221;yes&#8221;]<br><\/li>\n\n\n\n<li><strong>popular_only<\/strong>: Display only popular listings in the result. Options available: yes | no. <br><br>Example:\u00a0[directorist_search_result popular_only=&#8221;yes&#8221;]<br><\/li>\n\n\n\n<li><strong>header<\/strong>: You can hide\/show the header area using header attributes. Options available: yes | no. <br><br>Example:\u00a0[directorist_search_result header=&#8221;yes&#8221;]<br><\/li>\n\n\n\n<li><strong>header_title<\/strong>:\u00a0[directorist_search_result header_title=&#8221;Search Result&#8221;]<br><\/li>\n\n\n\n<li><strong>header_sub_title<\/strong>:\u00a0[directorist_search_result header_sub_title =&#8221;Total Listing Found&#8221;]<br><\/li>\n\n\n\n<li><strong>columns<\/strong>: select any column for grid view using columns attribute.\u00a0<br><br>[directorist_search_result column=&#8221;3&#8243;]<br><\/li>\n\n\n\n<li><strong>show_pagination<\/strong>: You can show\/hide pagination using this attribute. Available options: yes|no. <br><br>Example:\u00a0[directorist_search_result\u00a0show_pagination=&#8221;yes&#8221;]<br><\/li>\n\n\n\n<li><strong>map_height<\/strong>: You can customize the height of the map view layout using this attribute. <br><br>Example\u00a0[directorist_search_result\u00a0map_height=&#8221;350&#8243;] <\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Sample Screenshot<\/h3>\n\n\n\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\n\n\n<p>That&#8217;s all about Search Results page shortcodes. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can display the result of a search of listings on any page by using this&nbsp;Search Result Listing:[directorist_search_result][directorist_search_result]&nbsp;has many parameters to customize the display of all listings in the search result page. Let\u2019s have a look at the available parameters and their available values with some description. Parameters: Sample Screenshot The shortcode output on your [&hellip;]<\/p>\n","protected":false},"author":22343,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[707],"doc_tag":[],"class_list":["post-368489","docs","type-docs","status-publish","hentry","doc_category-shortcodes-library"],"year_month":"2026-03","word_count":391,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Fairose Farabi","author_nicename":"farabisovware","author_url":"https:\/\/directorist.com\/author\/farabisovware\/"},"doc_category_info":[{"term_name":"Shortcodes Library","term_url":"https:\/\/directorist.com\/docs-category\/shortcodes-library\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/368489","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/users\/22343"}],"replies":[{"embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/comments?post=368489"}],"version-history":[{"count":0,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/368489\/revisions"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/media?parent=368489"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_category?post=368489"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_tag?post=368489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}