Linux 软件免费装
Banner图

SoftIcon Store Locator – Store Finder Map, No API Key

开发者 softiconai
更新时间 2026年12月4日 17:57
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

block map store finder store locator dealer locator

下载

1.3.0 1.4.0 1.0.1 1.1.0 1.0.0 1.2.0

详情介绍:

SoftIcon Store Locator adds a Store Locator block to the block editor. Add your shops, branches or dealers right in the block, or import them from a CSV file, and the page shows them as a list with a map. Visitors type their town or postcode, or press Near me, and see the nearest stores first. https://www.youtube.com/watch?v=KFmGVqEHBQo New to it? Watch Every setting, explained, a 2-minute video tutorial. Privacy The plugin sets no cookies and stores nothing about visitors. Your stores are saved in the block, inside your post. The map and the place search use OpenStreetMap services, described under External services below. With Load the map on click turned on, visitors see a short note and a Show map button first, and nothing is loaded from the map server before they press it. Near me uses the location the visitor's browser gives. The coordinates are used only in the browser and are never sent anywhere, but the map then moves to the visitor's area, so the map tiles for that area are loaded from the tile server (see External services). With Near me when the page opens, the browser asks the visitor for their location as the store locator comes into view; if they say no, every store stays. External services This plugin connects to these outside services. It sends nothing else, and nothing at all when a page has no Store Locator block. OpenStreetMap map tiles (tile.openstreetmap.org), run by the OpenStreetMap Foundation. The map is made of small images (tiles) that the visitor's browser loads from this server when a page shows the map, and in the block editor. The server receives the visitor's IP address, their browser's user agent and the address of the page (the Referer), as for any image from another website, and from the tiles asked for it can tell which area the map shows (after Near me, the visitor's area). With Load the map on click, this happens only after the visitor presses Show map. You can set another tile server in the block's Map settings. Tile usage policy: https://operations.osmfoundation.org/policies/tiles/ – Terms of use: https://osmfoundation.org/wiki/Terms_of_Use – Privacy policy: https://osmfoundation.org/wiki/Privacy_Policy Nominatim place search (nominatim.openstreetmap.org), run by the OpenStreetMap Foundation. It turns an address into a place on the map. It is asked only when a person presses a button, at most once a second: Third-party libraries The unminified source of this plugin is in the src folder, with package.json and webpack.config.js. Build it with npm install and npm run build.

安装:

  1. Install the plugin from Plugins → Add New, or upload the zip.
  2. Activate it.
  3. In the block editor, add the Store Locator block.
  4. Press Add store, or Import CSV to bring many stores at once.

屏幕截图:

  • Searching a town: the stores sorted by distance, with the place on the map.
  • Editing a store in the block: find the address on the map and drag the pin.
  • Importing stores from a CSV file, with the columns matched for you.
  • Layout, colors and your own marker.
  • On a phone: the search, the map and the list below it.
  • The category filter as buttons: only the cafés, in the list and on the map.
  • Open or closed on every store, and the Open now button.
  • Setting a store's opening times on the weekly grid.
  • A pin color for each category, with the legend on the map and the colors on the category buttons.

常见问题:

Do I need a Google Maps API key?

No. The map uses OpenStreetMap, which needs no key and no account.

Is there a video tutorial?

Yes: Every setting, explained (2:06). Jump to a part:

The empty block, the CSV import and the Help panel in the block's settings link to it too.

Where do I add my stores?

In the block itself. Select the block and open the Stores panel in the sidebar: add a store, fill in its address, and press Find on map. You can also click on the map to place a store, or drag its orange pin.

How should my CSV file look?

One store per row, with the column names in the first row. The block recognises common names such as name, address, city, postcode (or zip), country, phone, email, website, category (several in one cell, separated by commas, semicolons or |), hours, schedule (opening times as Mo-Fr 09:00-18:00; Sa 10:00-14:00), lat (or latitude) and lng (or lon, longitude), and you can match any other column yourself. Commas or semicolons both work. Save the sheet as "CSV UTF-8" so accents stay right. If the file has no coordinates, press Find the places of … stores after the import. See an import in the video.

A store's pin is in the wrong place

Place search is free but not perfect, especially for new streets or some countries. Open the store and drag its orange pin to the right spot, or type the latitude and longitude. Stores found without their postcode are marked in the list so you can check them. See it in the video.

How many stores can one block hold?

Up to 500. For more, add a second Store Locator block, for example one per country.

Can I show the same stores on several pages?

Yes, with a synced pattern. Select the block, open the ⋮ menu in the block toolbar, choose Create pattern, give it a name and keep Synced on. Then add it to any page from the block inserter (Patterns → My patterns). To change the stores, select the pattern on any page and click Edit original: every page that uses it changes at once. The map, search, categories, Open now and the schema.org data work in every copy, even with two copies on one page.

Is it GDPR friendly?

It sets no cookies and tracks nothing. Turn on Load the map on click in the Map settings so nothing is loaded from OpenStreetMap until the visitor asks, and mention OpenStreetMap in your privacy policy. You can also turn off the place search for visitors. See it in the video.

My site has a lot of visitors

OpenStreetMap's own tile server is meant for light use. For a busy site, set the address of another tile server in the block's Map settings (many providers offer free plans), with the credit they ask for.

Does it work with caching and optimization plugins?

Yes. The block uses no AJAX calls, and it finds its own files even when an optimization plugin combines or moves its scripts.

How does "Open now" work?

Give a store its opening times in its form: tick the days, set the times, and add a second time for a lunch break. A closing time at or before the opening time means after midnight (22:00 to 02:00). The times are read in your site's time zone (Settings › General), and each visitor's browser works out whether the store is open, so it stays right on cached pages and needs no server. Choose Badge and button, Badge only or None under Open now in the block's Search settings. The opening hours text shown on the page is separate; Write the shown text from these times fills it for you.

Does it help my local SEO?

Yes. Every store in the list is marked up as a schema.org LocalBusiness with its name, address, phone, email, website, picture, coordinates and opening times, so search engines such as Google can read your stores. Nothing to set up. If your SEO plugin already describes your business, both can stay on the same page.

Can I use my own marker?

Yes: pick a picture (your logo or an icon) in Colors and marker. Or keep the pin and choose its color, one for all stores or one per category under Pin color by category. A store with several categories takes the color of its first one that has a color.

Can developers change the map or the place search?

Use the alsl_config filter. For example, to use another tile server and geocoder on the whole site: add_filter( 'alsl_config', function ( $config ) { $config['tiles'] = 'https://tiles.example.com/{z}/{x}/{y}.png'; $config['geocoder'] = 'https://geocoder.example.com/search'; return $config; } ); The geocoder must answer like Nominatim's /search (JSON) or Photon (GeoJSON).

更新日志:

1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 1.0.0