Description
[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
Captures d’écran
Installation
- 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
Avis
Il n’y a aucun avis pour cette extension.
Contributeurs/contributrices & développeurs/développeuses
« Geo hCard Map » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Geo hCard Map » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal
1.0
- Birth.