[WordPress] 外掛分享: Map in Each Post – Add interactive maps to every post

首頁外掛目錄 › Map in Each Post – Add interactive maps to every post
WordPress 外掛 Map in Each Post – Add interactive maps to every post 的封面圖片
10+
安裝啟用
尚無評分
105 天前
最後更新
問題解決
WordPress 5.0+ v3.4.1 上架:2024-07-10

內容簡介

總結: Map in Each Post 外掛讓您可以使用簡短代碼和內建表單輕鬆將地圖新增到您的 WordPress 文章中。您可以為每篇文章自訂不同的地圖點。此外,您可以選擇啟用地圖功能的文章類型。適合旅遊部落格、基於位置的內容,以及需要每篇文章都有自訂地圖的網站。

1. 這個外掛的功能有哪些?
- 透過簡單的簡短代碼將自訂地圖新增到每個文章中。
- 透過文章編輯器中的表單自訂每個地圖的不同點。
- 選擇哪些文章類型啟用地圖功能。
- 用起來容易且容易配置。
- 與最新版本的 WordPress 相容。

2. 如何使用這個外掛?
- 在文章中加入以下簡短代碼:[mapInEachPost]。
- 然後,在文章編輯器中使用表單輸入您想要新增到地圖中的經緯度座標。
- 這將生成一個標明紐約市和洛杉磯點的地圖。

3. 這個外掛依賴什麼第三方服務?
- 這個外掛依賴 Leaflet 服務來顯示地圖。Leaflet 是一個開源的 JavaScript 圖書庫,用於製作適合手機的互動地圖。
- 使用這個外掛,您同意遵守 Leaflet 的使用條款和隱私政策。

服務:Leaflet
授權:BSD-2-Clause 授權。

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.4.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Map in Each Post – Add interactive maps to every post」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Map in Each Post allows you to easily add a map to your WordPress posts using shortcodes and a built-in form. You can customize each map with different points for each post. This plugin is ideal for travel blogs, location-based content, and any website that needs custom maps per post. Additionally, you can select which post types will have the map functionality enabled.
Try it on a free mock site: click here
Features

Add a custom map to each post using a simple shortcode.
Customize each map with different points via a form in the post editor.
Select the post types where the map functionality should be enabled.
Easy to use and configure.
Compatible with the latest version of WordPress.

Usage
To use this plugin, simply add the following shortcode to your post to display a map with multiple points:
[mapInEachPost]

Or by specifying the center point and zoom:
[mapInEachPost zoom="3" lat="45.4399961" lon="10.9719328"]

Then, use the form that appears in the post editor to input the latitude and longitude coordinates for the points you want to add to the map.
This will generate a map with points in New York City and Los Angeles.
To display a single point on the map, use the following shortcode:
[mapInEachPostPoint lat="39.8736" lon="8.7479" zoom="12" title="Point in Sardinia"]

lat: Latitude of the point (required)
lon: Longitude of the point (required)
zoom: Zoom level for the map (optional, default: 8)
title: Title of the point (optional, default: empty)
link: A URL to associate with the point (optional)
desc: A description for the point (optional)

For example, to display a point with additional information:
[mapInEachPostPoint lat="39.8736" lon="8.7479" zoom="12" title="Point in Sardinia" link="https://example.com" desc="Description of the Point in Sardinia"]

This will generate a map centered on the given latitude and longitude, with the point titled “Point in Sardinia” and a link to “https://example.com”.
Third Party Services
This plugin relies on the Leaflet service to display maps. Leaflet is an open-source JavaScript library for mobile-friendly interactive maps. By using this plugin, you agree to the terms of use and privacy policies of Leaflet.

Service: Leaflet
License: BSD-2-Clause license

You can find the source code and contribute to the project on GitHub:Map in Each Post on GitHub

延伸相關外掛

文章
Filter
Apply Filters
Mastodon