
內容簡介
[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
外掛標籤
開發者團隊
原文外掛簡介
[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
19.063553810119632
/wp-content/plugins/geo-hcard-map/images/gray-green.png
microformats wiki and geo
