Use the following function to display the a list of locations.
<?php if( function_exists( 'aioseo_local_locations' ) ) aioseo_local_locations(); ?>
The following options are supported:
- categoryId
- Default: empty
- If Multiple Locations is on you may use a location's category ID.
NOTE:
You can find the Location Category ID to use in this shortcode by editing a location category and looking in the browser URL bar where it says “tag_ID=1”. The number is the Location Category ID.