Additional Layout Shortcodes with Power Add-on

 

If you have the Power Add-on in addition to the Experience Add-on you have additional fields that can be displayed with the use of shortcodes and attributes.

Contact Fields

The Power Add-on has Contact Fields that can be associated with your locations for adding internal special  ids  for updates or to add filters. The contact fields will not automatically appear in your results on the front end.
Continue reading “Additional Layout Shortcodes with Power Add-on”

[slplus] Shortcode

[slplus] is the primary shortcode used within WordPress sites to display the Store Locator Plus map and location search interface.

A shortcode is a special label inside of square brackets that is used within WordPress pages and posts to display the output from a plugin. You place a shortcode within the text of your page or post and the plugin will “do it’s magic”.

Note: Shortcode attributes WILL NOT WORK if Force Load JavaScript is turned on under Store Locator Plus General Settings. Try turning it off before using attributes. If Store Locator Plus won’t load when you turn Force Load JavaScript off, get a different WordPress Theme that fully implements WordPress code standards.

Note: WordPress Plugin API update 4.2.3 effects shortcodes with filtered styles which will not be recognized when stored between quotes.

Continue reading “[slplus] Shortcode”

Tags For Locations

Tags  (text,  label identifier) can be added to any location with the Power Add On, .   It is a quick and informal way to add categorization or grouping features to your Store Locator Plus locations.

Administration

Settings for Store Locator Plus Tag Search are under the Experience / Search tab  in the Search Feature section when you have the Power Add On installed.

Turning On Tag Searching

Tag based searches are off by default.  Set the Search Form Tag Input to something other than “none”.

Custom Label For Tag Searching

You can set a custom label for the tag search input. By default the label is blank. Leave blank type in what you want to appear for the Search By Tag Label: entry

Pulldown or Text Input

You can elect to have either a drop down , radio button, or a text box input for users when filtering results by location tags. The default mode is to allow for free-form text input. To use the other methods you must enter a series of your tags separated by commas.

dropdown with tags option
dropdown with tags option

Providing An Any Selection On The Tag Pulldown

You can also provide an “any” selection which will search for all locations, in addition to the list of tags you enter on the drop down. Check off the “show any” setting and Store Locator Plus will automatically add the phrase “any” to the top of your search list.
Continue reading “Tags For Locations”

The Store Page [storepage] Shortcode

The [storepage] shortcode is used by the Pages and Power add ons to render live location data on a location (store) page.     The template is set under the Pages / Settings tab in the Initial Page Features group via the Page Template setting.

The [storepage] Shortcode

By default the [storepage] shortcode does not output any content.   You need to use one of the following attributes to generate location-specific output.

The Field Attribute

The field attribute is used to output location data fields from the current active location linked to the page.   The field names should be the field slug.  They slug is not case sensitive.    By default a slug is the field name in lowercase with no spaces.

This will also set the field name used for some of the other attributes.   Thus is is important to list this first if using some attributes such as the “type” attribute.

[storepage field=store] will output the name of the location.
Continue reading “The Store Page [storepage] Shortcode”