Shortcodes

Locations shortcode

Pro: show countries, divisions, cities or regions with station counts.

On this page
  1. Attributes
  2. Examples
  3. Related articles

[tunesera_locations] shows a list or grid of countries, divisions, cities or expandable region groups, each linking to its archive page.

Pro feature. This feature needs TuneSera Pro with an active license. Get TuneSera Pro

[tunesera_locations]

Attributes#

AttributeDefaultWhat it does
typecountrycountry, division, city or region (countries grouped by expandable region).
country(all)Parent country slug. Limits divisions or cities to one country.
division(all)Parent division slug. Limits cities to one division.
viewYour directory settinglist or grid.
columnsYour desktop columns settingGrid columns, 1–6.
limit12Maximum locations to show.
show_countyesShow station counts.
hide_emptyyesHide locations with no published stations.

Examples#

All cities in the Dhaka division:

[tunesera_locations type="city" country="bangladesh" division="dhaka-division" view="grid" columns="3"]

Countries grouped by region:

[tunesera_locations type="region"]
Still stuck?Our team usually replies the same day. Open a private ticket and we'll help you sort it out. Open a ticket