Ultimate Member - vCard shortcode button
Extension to Ultimate Member to create the User Profile vCard via a shortcode button.
by Miss Veronica · github.com/missveronica/um-vcard-shortcode-button · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/missveronica/um-vcard-shortcode-button/archive/refs/heads/main.zipDeclares an update source (https://github.com/MissVeronica/um-vcard-shortcode-button), so updates arrive through the plugin's own updater.
Readme
UM vCard Shortcode Button
Extension to Ultimate Member to create the User Profile vCard via a shortcode button.
Shortcode Settings
Shortcode [um_vcard_button]. Add the shortcode to a profile field with your UM Forms Builder.
The shortcode will create a vCard file with meta keys from current User's UM content if values are available:
Clicking on the shortcode vCard profile form button can either go to the default vcard="download" of the vCard file: vcard.vcf
or can be changed in the shortcode to vcard="email" when the requesting user will receive an email with the vcard.vcf file attached.
Button text can be set in the shortcode with this example: [um_vcard_button button="Download your vCard file"].
Button title text can be set in the shortcode with this example: [um_vcard_button html_title="Create the vCard for this user profile"]
Default meta_key values which can be changed like [um_vcard_button org="shop-name"]
- 'address' => 'address' excludes 'street', 'city', 'zip', 'state', 'country'
- 'street' => 'street'
- 'city' => 'city'
- 'zip' => 'zip'
- 'state' => 'state'
- 'org' => 'company'
- 'title' => 'title'
- 'url' => 'user_url'
- 'revision' => 'last_update'
- 'vcard' => 'download' option 'email'
- 'button' => 'Download vCard'
- 'html_title' => 'Create the vCard for this user profile'
- '#place' => 'WORK' option 'HOME'
Updates
- Version 1.1.0 Included a macro address
Installation & Updates
Download the ZIP file from the Green Code button and install or update as a new WP Plugin, activate the plugin.