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 are the keywords that appear after the opening [slp_search_element and before the closing ].
Default attributes include:
Output a form button. <slug> should be an input supported by the base plugin or an add on such as:
Output the Find Locations button.
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:
Output a dropdown of radius selections based on the Experience / Search / Radii Options setting.
Outputs the specified value. Used by some add ons to add a specific [slp_search_element] output.
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:
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.
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
With the Experience Add-on you have multiple search tool options to display on the front page when a site visitor lands on your locator page. Search by Name is a checkbox that is found under the Store Locator Plus “Experience/Search” menu on your admin ui.
EXPERIENCE additional features under Search
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.
A: The find button text is most easily changed via the Experience add on.
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.
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.