With the Power add on you can easily create data-driven WordPress pages for each location in your Store Locator Plus locations table.   The layout that builds the initial pages can be modified and pages created, or re-created, en- masse.   Once the initial Store Pages have been created they can be modified on a per-location basis.

Creating Location Pages

Before creating the per-location pages you will want to check the default Pages settings.  First you must click on Enable PAGES under the General/Server tab in SLP.  Next Click the Pages submenu under the Store Locator Plus menu in your WordPress admin sidebar.

Store Locator Plus Admin Menu
Store Locator Plus Admin Menu

Set Page Status To Published

Look for the Behavior group and set your Default Page Status to Published.   Visitors to your site can only see pages with a status of Published.   Most WordPress themes will only search and build page listings and directories of pages with a status of “Published”.   The exact capabilities depend on your selected WordPress theme and their support of custom post types.

The default setting is “Draft” which allows you ,  as a WordPress site administrator, to preview how the Pages look before being see by the general public.   If you leave the setting here as “Draft” you will need to manually change each Store Page to “published” via the Store Pages entry on the WordPress admin side menu.

Check The Page Template

The default page template will likely suffice for getting you started.    If you want to add special headers, text , or other content on every location details page you create you can change it here.   When you create, or recreate, your pages via the Store Locator Plus Locations tab the template specified here will be used to set the initial page content.   Special storepage shortcodes only enabled when the Power add on is active are available to your page content and will display the current location data as well as provide shortcuts for building email links and placing a location-specific map on the page.

Pages 4.4.07 Default Template
Pages 4.4.07 Default Template

Setting Read More Breaks

WordPress supports the <!–more–> server-side tag (quick tags in WordPress parlance) to set the point in which a post will “break” and show “Read More” when displaying a list of posts or pages.

You can add this tag to the Page Template to let your WordPress theme know where to break the Store Page when it is displayed in a list of pages.   This same mechanism is used with the [slp_pages] shortcode within Store Locator  Plus.

If you add this to your page template you will need to re-create your pages by going to the Locations / Manage tab and using the “Create Pages” bulk action.

The other option is to go to the Store Pages list and editing the location pages by hand.  Keep in mind the <!–more–> tag needs to be added in TEXT edit mode not visual mode.

Activating Read More For [slp_pages]

The Power add on includes a Read More Text setting.    If this setting is empty the <!–more–> page breaks are ignored when using the [slp_pages] shortcode to generate a list of Store Pages.    Enter text here to set the “Read More” verbiage and activate the more functionality on your page lists.

Generate Your Pages

Click on the Store Locator Plus Locations menu. Go to the Manage subtab. Check the “select all locations” checkbox at the top of the list of locations table. Under the bulk actions drop down menu select2016-09-12“Create Pages”.     A new Store Page will be created of each location that is checked.

Check Your Results

Click on Store Pages on the WordPress admin side menu.   This is where you will find a list of the custom WordPress “Store Page” custom page types.

WordPress Store Pages Menu
WordPress Store Pages Menu

From here you can change pages from published to draft state or customize how pages look on a per-location basis.   Keep in mind that any customization you do here will be overwritten if you create/recreate Store Pages via the Store Locator Plus Locations tab.