Apraksts
[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
<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
Ekrānuzņēmumi
Uzstādīšana
- Download and install the Plugin
- Upload the plugin folder to the ‘/wp-content/plugins/’ directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Include the appropriate hcard markup in your template output (WordPress plugins can help you)
- You will now have [geo_hcard_map] shortcode
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Geo hCard Map” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Geo hCard Map” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0
- Birth.