T_PAAMAYIM_NEKUDOTAYIM is the scope resolution operator. In most languages it is the double-colon (::).
Most people that are looking for this odd-looking word are probably running into an issue with a PHP program. For as often as it comes up, there is very little information on what is causing the problem.
With PHP it typically means the application has a syntax error. The PHP interpreter cannot figure out how to compile your code properly and crashes with the Unexpected T_PAAMAYIM_NEKUDOTAYIM error message. Often it is due to a class name or static method reference that PHP cannot handle. Either the class name is entered incorrectly OR your PHP version is so old it cannot process variable names before the double-colon operator.
For Store Locator Plus™ users that are still using the WordPress plugins it most likely means the version of PHP you are running on your web server is very outdated. Upgrade PHP to a newer version, preferably something that is supported in the past 5 years like PHP 7.
User that chose the fully managed Store Locator Plus™ service don’t have to worry about things like this.
The label that will be displayed in front of the Search form box on your locator page can be changed under Settings/Search in the Appearance section Label. If none are set, a blank box will appear on your site. The “Address” Label you enter will appear in front of the search box. The “radius” information indicates to the site visitor that this is the radius (whatever radii you entered in the search form for radii options.
Consider this label as a help text tool for the site visitor to assist them as to what to enter in the box. Label Examples: zip code, city, street, or a combination such as address / zip code. The more detailed the better. We find address and zip code to be the most useful hint. If you leave this label blank nothing will appear in front of the search form box and your site visitors will be guessing what to enter as keywords to search (the same as any other search boxes). They can type in anything that comes to mind and end up with no results.
The second search box is the drop down menu for your distance units. We find the words “Within” useful. If you prefer to enter another language for the labels that appear on the front end , that is your option as well.
The location limit feature is available exclusively to our Store Locator Plus Premier/Enterprise customers.
When the URL Control module is active you can enable location ID passing by turning on “Location Limit” under the General / User Interface tab.
When this is enabled you can pass in a limit for the number of locations to be returned when the map initially loads and when a search is performed by adding ?limit=<id> to the end of the page address where your locator map is deployed with the [slplus] shortcode.
Example: Client has 250 results to return by default but when the site via a URL link loaded they only wanted 5 to come back.
Location Limit functionality supersedes the initial default limit.
MySLP is a monthly subscription service that allows you to deploy a locator map on ANY platform including WordPress. It is a managed service where we handle the hosting of the locations, settings, and map software. We keep the software updated so you don’t have to worry about it.
These instructions DO NOT APPLY to WordPress plugins.
For our buy-it-and-own-it solution you will want to look at the WPSLP plugins instead.
If you are using MySLP, read on…
You’ve already added your locations and generated your embed code per the instructions in our Getting Started post. Now you are ready to deploy on your WordPress site.
Here we are going to deploy the script in a new page on our site.
My Store Locator Plus can be deployed on any website technology that can publish basic HTML pages. The functionality of the service depends more on the browser technology used by your site visitors than your web stack.
The most basic deployment is a local HTML file that is opened by your web browser. Your desktop or laptop and even some mobile devices will allow you to create a basic HTML file on your device. You can then open this file using that device’s web browser.
When a user is typing in an address on the address search box on the locator they will be shown a list of suggestions based on what address Google thinks they are asking for. It requires 3 characters or more to be entered before it shows a suggestion.