Tag Archives: Experience

The [slp_search_element] Shortcode

The [slp_search_element] shortcode is only processed within the Search Layout setting.   It is used to display user input elements on the search form.

Attributes

Attributes are the keywords that appear after the opening [slp_search_element and before the closing ].

Default attributes include:

button=<slug>

Output a form button.  <slug> should be an input supported by the base plugin or an add on such as:

submit

Output the Find Locations button.

 

dropdown_with_label=<slug>

Output a dropdown selector with a preceding label for the specified input.  <slug> should be an input supported by the base plugin or an add on such as:

radius

Output a dropdown of radius selections based on the Experience / Search / Radii Options setting.

hard_coded_value=<value>

Outputs the specified value.  Used by some add ons to add a specific [slp_search_element] output.

input_with_label=<slug>

Output a input selector with a preceding label for the specified input.  <slug> should be an input supported by the base plugin or an add on such as:

address

Output a the address/zip-code input box.

Tech Geek Stuff

Processed by the SLP_UI class via add_shortcode in create string_SearchForm() which calls crease_SearchElement().

Filter shortcode_slp_searchelement is used to manipulate attributes.  Many add ons use this to render specific output using attribute ‘hard_coded_value’ => ‘xyz’ to output a specific value.

Q. What is the difference between a shortcode and locator layout settings?

A.    A shortcode is a WordPress-specific code that lets you do nifty things with very little effort.  Shortcodes can embed files or create objects that would normally require lots of complicated, ugly code in just one line.   In other words, a Shortcode = shortcut. Continue reading

Directory City/State/Country Filters

The directory feature of the Power add on allows you to quickly build a directory-style listing on your pages to show a list of cities, states, or countries where you have locations.

The [slp_directory] shortcode used to build this listing can be combined with a landing_page attribute to quickly refer your site visitors to an interactive map showing your locations in the selected city, state, or country.
Continue reading

Adding Locations with additional features

If you have any of the Store Locator Plus featured Add-ons such as Power, Experience, or Premier add-ons you will see additional sections when Adding (or managing) a Location.

You can opt to fill in all the rows and info that determine the Location and geocoding and hit Add button if you are done entering information. Or you can opt to continue to the next section, whether it be featured, tags, categories, territories, or other functions that are in separate sections on the Location Add Tab.Click the “Add button” at the bottom of the next section instead.

For example, I want to add a location that also is going to have a category assigned to it. I have the latest version of the Power Add-on activated. After adding all the Location information, I do not click on the Add button under the location information but continue on down to the next section called “Power” and add whatever pertinent information I wish to add there. Once I am satisfied and have no additional data to add, I click on the Add Button under the Power section of the Locations Panel to create the location that I have just added.

The category or other additional data you just associated will appear when you review the Locations Page.When to click the add buttonaddlocationa nd acategories

Radius Behavior

Store Locator Plus 4.5.08 adds Radius Behavior as primary option in the base plugin. The Experience and Premier Add On packs extend the functionality beyond the basic “Always Use” setting.  This setting impacts how the radius selector is employed and how locations are filtered before being displayed to the user.

The initial map radius is set under the Experience / Results tab Initial Startup panel.

The radius selection options presented to the user in the drop down menu is set under the Experience / Search tab in the Search Features panel.

Continue reading