SLP Documentation

PAO: Store Pages

Introduction

Store Pages provides an easy way to create SEO-friendly store pages that are created directly from your Store Locator Plus locations data.

Installation  & Licensing

As of version 3.9 Store Pages no longer uses a license key.   When you purchase the add-on from the website your account will be granted access to a downloadable zip file.   Go to your WordPress admin panel and proceed with the standard manual upload installation process.  When you activate the Store Pages plugin new menu entries will appear in the Store Locator Plus navigation system.

Upgrading to 3.9?

Store Pages v3.9 will appear as a separate plugin and be managed separately from the Store Locator Plus releases.  If you purchase Store Pages from this website, login and download the new slp-pages.zip file that will be in your downloads section of “My Account”.   If you purchased via PayPal, contact Me with your license key after you create a new order on this website by “purchasing” the free “Store Locator Plus” plugin.  This gives you an order # I can attach the download to.

Version 3.9 allows for custom URLs for your Store Pages.   As such you will need to go into the general WordPress permalinks setting and make a change to “re-activate” the permalinks table.  Go to the Store Pages tab in Store Locator Plus.    Change the permalink setting from “store-page” to something else and save changes.   You can change it back afterwards, but the first change needs to happen and be a DIFFERENT string to trigger the permalink table flush.  If that does not work you can try to flush the permalinks table by changing the built-in WordPress Permalink setting.  Select “custom structure”.  It will already be filled out with the string needed to keep pages as they are.  Click save and it should flush the permalinks table but retain your URL structure.    If permalinks is already set to custom, because you have a truly custom format for the URL, you will need to use the “change store pages permalink” method.

General Settings

The Store Pages general settings can be found on the “general settings” tab in version 3.8.X and earlier.   As of Version 3.9 the Store Pages settings are on a separate sidebar menu under “Store Locator Plus” and on the top tab bar under the name “Store Pages’”.

Store Pages Settings

Store Pages Settings

Default Comments

Version 3.9+.

When pages are created should they have comments enabled or disabled by default?

Default Trackbacks

Version 3.9+.

When pages are created should they have pingbacks/trackbacks enabled or disabled by default?

Pages Replace Website

Use the Store Pages local URL in place of the website URL on the map results list.  When on, the results under the map will replace the “website” link with a link to the store page for the location.

Page Template

Version 3.9+.

The Page Template settings allows you to change the default page layout for a store page.   The template should be written using basic HTML as allowed by the WordPress page editor in “text” (versus visual) mode.

The [storepage] shortcode works for Store Pages only.  It allows any field from the base Store Locator Plus locations table to be output on the page.   You must specifiy a field to output by using the field attribute.  For example [storepage field="sl_store"].    As of version 3.9 of Store Locator Plus the field names are:

  • sl_id
  • sl_store – the store name
  • sl_address
  • sl_address2
  • sl_city
  • sl_state
  • sl_zip
  • sl_country
  • sl_latitude
  • sl_longitude
  • sl_tags – the comma separated raw tag list from Pro Pack
  • sl_description
  • sl_email
  • sl_url – the website URL
  • sl_hours
  • sl_phone
  • sl_fax
  • sl_image – the image URL if entered
  • sl_pages_url – the store page URL

To reset the Page Template to the default value, expand the help and click on “reset to default”.

Permalink Starts With

Version 3.9+.

Set the middle part of the store page URLs, defaults to “store_page”.   This impacts how the permalink, and thus public URL, is created.

The value you enter here should be alphanumeric and underscore or hyphen only (a to z, 0 to 9, _, or-).

This value will be used as part of your URL depending on what your general WordPress permalink settings are.

You can see what the final URL will look like by going to “Store Pages” on the admin menu, selecting a store, and editing it.   The permalink will be listed just above the post content.

View the permalinks section of the troubleshooting page if you have problems.

Prevent New Window

Prevent Store Pages web links from opening in a new window.  The default for the map results website link is to open a new window with the location site within.   With Store Pages being hosted on your own website you may not want new windows opening for the user.  Check this to  have page links open in the same browser window.

Intro Videos

Intro to Store Pages

A brief intro video about Store Pages, how they work and what they do.