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 [directorist_all_locations] shortcode has many parameters to customize the display of all locations. Let’s have a look at the available parameters and their available values with some description.
Attributes/Parameters:
view: You can display all locations in a list layout or grid layout. Available Options: list | grid view. The default value is the grid. Example:
[directorist_all_locations view="grid"]
order by: You can order all locations using this attribute. Available Options : id | count | name | slug. The default is id. Example:
[directorist_all_locations orderby ="id"]
order: You can sort all locations in ascending or descending order using this attribute. Available Options: asc | desc. The default is asc. Example:
[directorist_all_locations order="asc"]
logged_in_user_only: You can make all locations page only visible for logged-in users using this parameter. Options available: yes | no. Example: