
List Locations BMLT is a plugin that returns all unique towns or counties from your BMLT server for a given service body on your site.
SHORTCODE
Basic: [list_locations]
Attributes: root_server, services, recursive, state, delimiter, list, state_skip, city_skip
— Shortcode parameters can be combined
A minimum of root_server and services attribute are required, which would return all towns for that service body seperated by a comma.
Ex. [list_locations root_server="https://www.domain.org/main_server" services="50"]
Recursive: to recurse service bodies add recursive="1"
Ex. [list_locations root_server="https://www.domain.org/main_server" services="50" recursive="1"]
State: to remove appending of the state add state="0"
Ex. [list_locations root_server="https://www.domain.org/main_server" services="50" state="0"]
State Skip: to skip the inclusion of a state when using state="1" add state_skip="NC"
Ex. [list_locations root_server="https://www.domain.org/main_server" services="50" state="1" state_skip="NC"]
City Skip To skip the inclusion of a city add city_skip="Indianapolis". This can be useful when mentioning a city out of order or in a different part of the text.
Ex. [list_locations root_server="https://www.domain.org/main_server" services="50" state="1" city_skip="Indianapolis"]
Services: to add multiple service bodies just seperate by a comma.
Ex. [list_locations root_server="https://www.domain.org/main_server" services="50,37,26"]
Delimiter: to change the delimiter to something besides a comma I would add delimiter=" – " or to create newlines between each I could do this delimiter="<br>", or delimiter="<p></p>"
Ex. [list_locations root_server="https://www.domain.org/main_server" delimiter="<br>"]
List: You can list by the following town, county, borough, neighborhood. The default is town.
Ex. [list_locations root_server="https://www.domain.org/main_server" list="town"]
https://www.crna.org/area-service-committees/
https://heartoflongislandna.org
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.