Plugin Directory

Test out the new Plugin Directory and let us know what you think.

hCard & vCard Generator

Given a user ID or login, this plugin will generate appropriate microformat compatible hCard and downloadable vCard formats for users.

  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Place <?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 user value is given.

There is also a Widget included for easy use in the sidebar.

You can use the login name for the user value with the shortcode or widget rather than the ID, but calling the generate function directly requires the User ID.

Requires: 3.0 or higher
Compatible up to: 4.2.11
Last Updated: 2 years ago
Active Installs: 1,000+


2.5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1