How to Add a Store Details Page?

The Store locator WordPress can also display the complete store details of a single Store separately by using the shortcode [ASL_STORE]. Furthermore, you can add the shortcode anywhere on the website and it will display the details once the page will load with the query parameter sl-store or the sl-title.

blank

How to add the store detail page? #

Create a new WordPress page and you can name it Stores as in the screenshot below.

blank
WordPress Pages > Add New

Add the page title such as Stores and add the [ASL_STORE] shortcode in it.

blank
Create a new Page with a shortcode

Copy the page ID of the newly created store detail page and the relative URL slug of it.

Now, go to the ASL Settings > Detail Page tab, and do the following steps.

blank
Store detail page
  • Select the Website link type to Page Slug.
  • Go to the UI Settings tab and enable the Website Link button.
blank
Website link button
  • Save the Settings, and now the last step is to “Save Changes” in the Permalink.
blank
Permalink Update

Once you perform these changes, you will be able to see the store detail pages.

Adding a Store Detail Page

It is also possible to display only a specific field of any store through the render store field guide.

How to remove the Hours Closed Labels? #

If you are to avoid showing up the store timings that are closed for any day, you can use the following shortcode to get rid of those closed days, and just render the open hours of the week.

[ASL_STORE closed_label="0"]