{"id":368482,"date":"2025-10-23T12:14:53","date_gmt":"2025-10-23T06:14:53","guid":{"rendered":"https:\/\/directorist.com\/?post_type=docs&#038;p=368482"},"modified":"2025-10-23T12:16:56","modified_gmt":"2025-10-23T06:16:56","password":"","slug":"all-locations-page","status":"publish","type":"docs","link":"https:\/\/directorist.com\/docs\/all-locations-page\/","title":{"rendered":"All Locations Page"},"content":{"rendered":"\n<p>You can display all locations of directorist listings on any page or post using the following shortcodes.<\/p>\n\n\n\n<p>Directorist all locations shortcode : [directorist_all_locations]. <br>The\u00a0<code>[directorist_all_locations]<\/code>\u00a0shortcode has many parameters to customize the display of all locations. Let\u2019s have a look at the available parameters and their available values with some description. <\/p>\n\n\n\n<p>Attributes\/Parameters: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>view<\/strong>: You can display all locations in a list layout or grid layout. Available Options: list | grid view. The default value is the grid. <br><br>Example:\u00a0[directorist_all_locations view=&#8221;grid&#8221;]<br><\/li>\n\n\n\n<li><strong>order by<\/strong>: You can order all locations using this attribute. Available Options : id | count | name | slug. The default is id. <br><br>Example:\u00a0[directorist_all_locations orderby =&#8221;id&#8221;]<br><\/li>\n\n\n\n<li><strong>order<\/strong>: You can sort all locations in ascending or descending order using this attribute. Available Options: asc | desc. The default is asc.<br><br>Example:\u00a0[directorist_all_locations order=&#8221;asc&#8221;]<br><\/li>\n\n\n\n<li><strong>logged_in_user_only<\/strong>: You can make all locations page only visible for logged-in users using this parameter. Options available: yes | no. <br><br>Example:\u00a0[directorist_all_locations logged_in_user_only=&#8221;no&#8221;]<br><\/li>\n\n\n\n<li><strong>redirect_page_url<\/strong>: Forward\/redirect all locations page using this parameter. <br><br>Example:\u00a0[directorist_all_locations redirect_page_url=&#8221;www.aazztech.com&#8221;]<br><\/li>\n\n\n\n<li><strong>columns<\/strong>: You can set the number of columns of the grid view layout using this attribute. <br><br>Example\u00a0[directorist_all_locations columns=&#8221;3&#8243;]<br><\/li>\n\n\n\n<li><strong>loc_per_page<\/strong>: You can set the number of locations to show per page using this parameter. The default is 100. <br><br>Example:\u00a0[directorist_all_locations loc_per_page=&#8221;6&#8243;]<br><\/li>\n\n\n\n<li><strong>slug<\/strong>: You can display any locations by using this attribute. <br><br>Example:\u00a0[directorist_all_locations slug=&#8221;usa&#8221;] <\/li>\n<\/ul>\n\n\n\n<p>Sample Screenshot<br><br>The shortcode output on your site may be a little different because new features are being added and modified with every update.<br><br>Video <br><br>That&#8217;s all about All Locations Page shortcodes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can display all locations of directorist listings on any page or post using the following shortcodes. Directorist all locations shortcode : [directorist_all_locations]. The\u00a0[directorist_all_locations]\u00a0shortcode has many parameters to customize the display of all locations. Let\u2019s have a look at the available parameters and their available values with some description. Attributes\/Parameters: Sample Screenshot The shortcode output [&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-368482","docs","type-docs","status-publish","hentry","doc_category-shortcodes-library"],"year_month":"2026-03","word_count":288,"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\/368482","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=368482"}],"version-history":[{"count":0,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/docs\/368482\/revisions"}],"wp:attachment":[{"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/media?parent=368482"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_category?post=368482"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/directorist.com\/wp-json\/wp\/v2\/doc_tag?post=368482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}