Hcard-vcard-generator is a project mainly written in ..., it's free.
Given a user ID, this WordPress plugin will generate appropriate hCard and vCard formats for inserting into pages wherever you like.
=== hCard & vCard Generator === Contributors: jkohlbach Donate link: http://www.codemyownroad.com Tags: hcard, vcard, users Requires at least: 3.0 Tested up to: 3.2 Stable tag: trunk
Given a user ID, this plugin will generate appropriate microformat compatible hCard and downloadable vCard formats for users.
== Description ==
The hCard & vCard Generator plugin was created to solve one specific problem, generating microformats compatible hCards from WordPress users and companion vCards for downloading purposes.
The plugin also beefs up the user profile section with new fields for organisation, job title, phone and mobile numbers
== Installation ==
/wp-content/plugins/
directory<?php echo generate_card($userID, $cardType); ?>
in your templates where $userID is the user's ID and $cardType is either "hCard" or "vCard", or use the provided hCard vCard widget in the sidebar, or thirdly you can use shortcode to insert into posts/pages. See below:For example to generate the hCard for admin use:
<?php echo generate_card(1, 'hCard'); ?>
To generate the vCard for admin use:
<?php echo generate_card(1, 'vCard'); ?>
Alternatively, as of version 1.2 you can display the widget via shortcode:
[hcardvcard title="Testing Title" user="1" display_vcard=true display_hcard=true]
All attributes for the shortcode are optional, the current author gets used if no value is given.
== Frequently Asked Questions ==
N/A
vCard Format:
BEGIN:VCARD VERSION:3.0 N:Gump;Forrest FN:Forrest Gump ORG:Bubba Gump Shrimp Co. TITLE:Shrimp Man TEL;TYPE=WORK,VOICE:(111) 555-1212 EMAIL;TYPE=PREF,INTERNET:[email protected] ADR END:VCARD
hCard Format: `
== Changelog ==
= 1.6 =
= 1.5 =
= 1.4 =
= 1.3 =
= 1.2 =
= 1.1 =
= 1.0 =
== Upgrade Notice ==
N/A