{"id":368458,"date":"2025-10-23T10:29:40","date_gmt":"2025-10-23T04:29:40","guid":{"rendered":"https:\/\/directorist.com\/?post_type=docs&#038;p=368458"},"modified":"2025-10-23T10:29:50","modified_gmt":"2025-10-23T04:29:50","password":"","slug":"all-listings-page","status":"publish","type":"docs","link":"https:\/\/directorist.com\/docs\/all-listings-page\/","title":{"rendered":"All Listings Page"},"content":{"rendered":"\n<p>You can display all listings on any page using the following shortcode.<\/p>\n\n\n\n<p><code>[directorist_all_listing]<\/code><\/p>\n\n\n\n<p>The&nbsp;<code>[directorist_all_listing]<\/code>&nbsp;shortcode has many parameters to customize the display of all listings. Let\u2019s have a look at the available parameters and their available values with some description. All of these parameters are OPTIONAL. If you do not use any parameters in the shortcode then the Directorist will use options from the settings page (<strong>&nbsp;Directory Listings \u2192 Directory Settings \u2192 Listing Settings \u2192 General Settings page<\/strong>&nbsp;).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Parameters:<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Directory Type<\/strong>: If you are using multi directory feature, then you can display all listings based on specific directory types. <br><br>Example:\u00a0[directorist_all_listing directory_type=&#8221;place&#8221;]<br><br>Replace the\u00a0<strong><em>directory_type<\/em><\/strong>\u00a0with the slug name of the directory<br><\/li>\n\n\n\n<li><strong>View<\/strong>: You can display all listings in a list layout or grid layout. Available Options: list,grid &amp; map view. The default value is the grid. <br><br>Example:\u00a0[directorist_all_listing view=&#8221;grid&#8221;]<br><\/li>\n\n\n\n<li><strong>order by<\/strong>: You can order all listings using this parameter. Options available : title, date,rand &amp; price. The default is the date. <br><br>Example:\u00a0[directorist_all_listing orderby=&#8221;date&#8221;]<br><\/li>\n\n\n\n<li><strong>order<\/strong>: You can sort all listings in ascending or descending order. Options available: asc | desc. The default is desc. <br><br>Example:\u00a0[directorist_all_listing order=&#8221;asc&#8221;]<br><\/li>\n\n\n\n<li><strong>listings_per_page<\/strong>: You can set the number of listing to show per page using this parameter. The default is 6. <br><br>Example:\u00a0[directorist_all_listing listings_per_page=&#8221;6&#8243;]<br><\/li>\n\n\n\n<li><strong>category<\/strong>: Display all listings of one or more categories.\u00a0Use category slugs separated by a comma. <br><br>Example:\u00a0[directorist_all_listing category=&#8221;food,travel,medical&#8221;]<br><\/li>\n\n\n\n<li><strong>Tag<\/strong>: Display all listings of one or more tags. Use tag slugs separated by a comma. <br><br>Example: [directorist_all_listing tag=&#8221;car,book,medicine&#8221;]<br><\/li>\n\n\n\n<li><strong>location<\/strong>: Display all listings of one or more locations by location slug. Use location slugs separated by a comma. <br><br>Example:\u00a0[directorist_all_listing location=&#8221;new-york, Michigan&#8221;]<br><\/li>\n\n\n\n<li><strong>IDs<\/strong>: You can display listings by listing IDs.<br><br>Example:\u00a0[directorist_all_listing ids=&#8221;1,2,5&#8243;]<br><\/li>\n\n\n\n<li><strong>featured_only<\/strong>: Display only featured listing. Options available: yes | no.<br><br>Example: [directorist_all_listing featured_only=&#8221;yes&#8221;]<br><\/li>\n\n\n\n<li><strong>logged_in_user_only:<\/strong>\u00a0You can make all listings page only visible for logged-in users using this parameter. Options available: yes | no.<br><br>Example:\u00a0[directorist_all_listing logged_in_user_only=&#8221;no&#8221;]<br><\/li>\n\n\n\n<li><strong>redirect_page_url:<\/strong>\u00a0Forward\/redirect all listings page using this parameter. <br><br>Example: [directorist_all_listing redirect_page_url=&#8221;www.aazztech.com&#8221;]<br><\/li>\n\n\n\n<li><strong>popular_only:<\/strong>\u00a0Display only popular listing. Options available: yes | no. <br><br>\u00a0Example: [directorist_all_listing popular_only=&#8221;yes&#8221;]<br><\/li>\n\n\n\n<li><strong>header:<\/strong>\u00a0You can show\/hide the header area using these attributes. Options available: yes | no. <br><br>Example: [directorist_all_listing header=&#8221;yes&#8221;]<br><\/li>\n\n\n\n<li><strong>header_title:<\/strong>\u00a0You can customize the header title using this parameter. <br><br>Example: [directorist_all_listing header_title=&#8221;All Items&#8221;]<br><\/li>\n\n\n\n<li><strong>columns:<\/strong>\u00a0You can set the number of columns of the grid view layout using this attribute.<br><br>Example: [directorist_all_listing columns=&#8221;3&#8243;]<br><\/li>\n\n\n\n<li><strong>display_preview_image:<\/strong>\u00a0You can show\/hide listing preview images using this parameter. Available Options: yes|no.\u00a0 <br><br>Example:\u00a0[directorist_all_listing\u00a0display_preview_image=&#8221;yes&#8221;]<br><\/li>\n\n\n\n<li><strong>advanced_filter:<\/strong>\u00a0You can show\/hide advanced filter using this parameter. Available Options: yes|no.\u00a0 \u00a0<br><br>Example: [directorist_all_listing\u00a0advanced_filter=&#8221;yes&#8221;]<br><\/li>\n\n\n\n<li><strong>show_pagination:<\/strong>\u00a0You can show\/hide pagination. Available Options: yes|no.\u00a0 <br><br>Example: [directorist_all_listing\u00a0show_pagination=&#8221;yes&#8221;]<br><\/li>\n\n\n\n<li><strong>map_height:<\/strong>\u00a0You can customize the height of the map view layout using this attribute. <br><br>Example:\u00a0 [directorist_all_listing\u00a0map_height=&#8221;350&#8243;] <\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Sample Screenshot<\/h2>\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 Add Listing Page shortcodes. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can display all listings on any page using the following shortcode. [directorist_all_listing] The&nbsp;[directorist_all_listing]&nbsp;shortcode has many parameters to customize the display of all listings. Let\u2019s have a look at the available parameters and their available values with some description. All of these parameters are OPTIONAL. If you do not use any parameters in the shortcode [&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-368458","docs","type-docs","status-publish","hentry","doc_category-shortcodes-library"],"year_month":"2026-03","word_count":587,"total_views":"0","reactions":{"happy":"0","normal":"0","sad":"1"},"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\/368458","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=368458"}],"version-history":[{"count":0,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/368458\/revisions"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/media?parent=368458"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_category?post=368458"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_tag?post=368458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}