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
Screenshots
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
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Geo hCard Map” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Geo hCard Map” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0
- Birth.