| 开发者 | strodemediaco |
|---|---|
| 更新时间 | 2026年10月13日 02:56 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[mapsmith id="X"] shortcode[mapsmith id="X"] shortcode[mapsmith id="1"]
Replace 1 with the ID of the map you created in the admin panel.
mapsmith folder to the /wp-content/plugins/ directory.[mapsmith id="X"] shortcode.You need a Google Maps Platform API key with the Maps JavaScript API, Places API, and Geocoding API enabled (the Marker library is part of the Maps JavaScript API). Geocoding is used by the address / ZIP search on your maps. You can create one in the Google Cloud Console.
Unlimited. Mapsmith places no caps on businesses, locations, or maps.
In the block editor, add the Mapsmith Map block and pick a map. In the classic editor or a page builder, paste the shortcode [mapsmith id="X"] shown on the Maps screen.
Yes. With Search by address or ZIP turned on for a map (Map Editor → Controls), visitors can type a city, address, or ZIP code, pick a suggestion or press Enter, and the location list re-sorts by distance. Choose miles or kilometers per map.
Under Mapsmith → Settings → Other → Map Loading you can choose Ask visitors first. Maps then show a "Load map" button, and nothing is requested from Google until the visitor clicks it. Visitors can tick "Always load maps on this site", which is remembered in their browser (localStorage) only.
Yes. Each [mapsmith id="X"] shortcode renders an independent map instance.
Pin colors are set at the business level. Navigate to Mapsmith > Businesses, edit a business, and choose a pin color. You can also override pin styling at the map level in the Map Editor.
Yes. Enter your cloud-based Map ID in Mapsmith > Settings to apply custom map styling created in the Google Maps Platform Cloud Console.
Not unless you ask it to. Under Mapsmith → Settings → Other you can optionally turn on a small "Powered by Mapsmith" link shown below your maps. It is off by default, and you can turn it off again at any time.
Mapsmith Pro is a separate companion plugin sold at mapsmith.app. To upgrade:
mapsmith-pro.zip).Your activated sites keep working — Pro features stay enabled. Only plugin updates and email support require an active subscription.
tools/ directory (local reseed helper) from the distributed build so only runtime code ships.mapsmith_shortcode_config and mapsmith_shortcode_html filters so Pro and other extensions can extend the front-end output.sanitize_text_field() before storage.[mapsmith] shortcode output: configuration JSON is encoded with JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT so user-supplied data cannot break out of the data <script> tag.