=== hCard & vCard Generator === Contributors: jkohlbach Donate link: http://www.codemyownroad.com Tags: hcard, vcard, users Requires at least: 3.0 Tested up to: 4.2 Stable tag: trunk Given a user ID or login, 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, fax and mobile numbers as well as address. == Installation == 1. Upload the plugin to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Place `` 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: `` To generate the vCard for admin use: `` 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. == Frequently Asked Questions == N/A == Screenshots == N/A == Changelog == = 2.1 = * Adding specific fn field which is required for validation when widget title is off * Adding fn parameter to photo (thanks Fred) * Removed inline styles on some divs, these should be hidden in the theme's CSS, not the plugin = 2.0 = * Fix photo parameter, now encodes the photo into the VCF in Base64. * Various VCARD format fixes to be more compatible across different mail clients * Added Fax option to user page * Doing some code cleanup = 1.9 = * Fixing HTML formatting bugs (thanks R. Richard Hobbs) = 1.8 = * Changed URL of photo to use WPURL instead of URL for installations that have moved their WordPress install to a subdirectory. Also added PHOTO and NOTES support. = 1.7 = * Adding .htaccess to force mime type of .vcf = 1.6 = * Implement addresses = 1.5 = * Bug fixes = 1.4 = * Improve title generation to allow non-auto generated or blank headings (thanks Kevin) = 1.3 = * Fixing bug with vCard generation (thanks Thomas) = 1.2 = * Overhauled widget * Added shortcode display * Fixed bug in generation due to incorrect folder check = 1.1 = * Updating calls to WP 3.1 standard. Fixing bugs with the widget. = 1.0 = * Initial version == Upgrade Notice == N/A