How Can We Select a Category on the Store Locator by Default?

Agile Store Locator has provided an attribute for default category selection in the Store Locator frontend. Moreover, the selection will be loaded with the page load, and the respective filter will be applied.

The shortcode attribute for category selection is “select_category”, it can be used within your WP shortcode. Add the category ID as the parameter in the attribute.

Example of ShortCode:

[ASL_STORELOCATOR select_category="4"]