[WordPress] 外掛分享: Geo hCard Map

首頁外掛目錄 › Geo hCard Map
WordPress 外掛 Geo hCard Map 的封面圖片
10+
安裝啟用
尚無評分
2490 天前
最後更新
問題解決
WordPress 4.0+ v1.0 上架:2017-06-21

內容簡介

[geo_hcard_map] 短碼地圖顯示當前網頁上的元素。所有 .cb-popup 子元素將包含在相應 .vcard 項目的地圖快顯窗口中。下面是一個示例 hCard 元素。開發人員必須確保在文章模板中使用正確的 hCard 標記。 實際演示

相關插件

CMB2 用於創建漂亮的自定義欄位。
CMB2-field-Leaflet-Geocoder 設置發佈的位置在地圖上。
CMB2-field-Icon 給文章提供自定義的小圖標。

文章示例的hCard標記
<div class="vcard">
<h2><a class="url fn org" href="http://example.com/locations/magnet-bank/">Magnet Bank</a></h2>
<div class="cb-popup">Balacs utca, 1000 Budapest, Hungary</div>
<div class="cb-popup">Mon-Fri, 8:00 - 18:00</div>
<div class="adr">
<div class="geo">
<span class="latitude">47.50496815665008</span>,
<span class="longitude">19.063553810119632</span>
<span class="icon">/wp-content/plugins/geo-hcard-map/images/gray-green.png</span>
<span class="icon-shadow"></span>
</div>
</div>
</div>

microformats wiki and geo

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Geo hCard Map」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

[geo_hcard_map] shortcode map of hCard elements found in the current webpage. All .cb-popup sub-elements will be included in the map popup for the corresponding .vcard item. See below for an example of a hCard element. The developer must ensure the correct hCard markup in the post templates. Working Demo
Companion plugins

CMB2 for nice custom fields.
CMB2-field-Leaflet-Geocoder setting of post position on a map.
CMB2-field-Icon giving a post a custom little icon.

Example hCard Markup for a post

Magnet Bank

Balacs utca, 1000 Budapest, Hungary
Mon-Fri, 8:00 - 18:00
47.50496815665008,
19.063553810119632
/wp-content/plugins/geo-hcard-map/images/gray-green.png

microformats wiki and geo

延伸相關外掛

文章
Filter
Apply Filters
Mastodon