hCard ShortCode translates vCard to hCard and let’s you display them using a simple [hcard] shortcode.
hCard ShortCode supports the following vCard fields:
N given name and family name;EMAIL optionally use TYPE to specify a label to use in the <a> link;TITLEORGPHOTO with TYPE=URLURL, optionally use TYPE to specify a label to use in the <a> link;ADRSure, here it is:
BEGIN:VCARD
N:Paganotti;Sandro;;;
EMAIL;TYPE=Email:[email protected]
TITLE:Software Architect
ORG:Comparto Web
PHOTO;VALUE=URL;TYPE=PNG:/wp-content/uploads/2012/04/official_me-43x43.png
URL;TYPE=Twitter:https://twitter.com/#!/sandropaganotti
URL;TYPE=LinkedIn:http://www.linkedin.com/in/sandropaganotti
ADR;INTL;PARCEL;WORK:;;Via Cipro 66;Brescia;Brescia;25100;Italia
END:VCARD<h3>How can use the 'only' option?</h3>the `only` option can be used to limit the fields printed on the hCard, you
can declare a comma-separated list of the fields you want to be displayed, here’s the
keyword:
name for given name and family nameemail for the EMAILorg:title for the TITLE org:name for the ORGurl for the URLsphoto for the PHOTOlocation for thr ADRHere’s a shortcode example:
[hcard vcard="sandropaganotti" only="name,email,org:title,photo,url"]<h3>Kudos and acknowledgements:</h3>This plugin uses the cool Contact_Vcard_Parse class from Paul M. Jones <[email protected]> and a modified version of the phpMicroformats class from Tobias Kluge (enarion.net). Thank you!