Home>Support>Outlook vcard

Outlook vcard

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi! I am working on building a site and want to add a link so that someone could download my outlook vcard. How would I do this?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Taylor Q

    Thanks for reaching out. Perhaps check the plugin directory to see if there is a plugin available that can help:

    https://wordpress.org/plugins/

    The manual method is outlined here: http://www.redbridgenet.com/how-to-upload-vcf-to-wordpress-for-download-via-media-uploader/

    Using that method you’d need:

    1. A child theme, here is the Vantage starter child theme for download:
    https://github.com/siteorigin/vantage-child

    2. You’d need to add the following to the functions.php file in the child theme:

    add_filter('upload_mimes', 'custom_upload_mimes');
    function custom_upload_mimes ( $existing_mimes=array() ) {
    	// add your extension to the array
    	$existing_mimes['vcf'] = 'text/x-vcard';
    	return $existing_mimes;
    }
    

    Finally you’d need to add the following to your .htaccess file, a file found in your web server root:

    AddType application/octet-stream vcf
    

    That needs to be added above the other WordPress info there.

    So all in all not a straightforward process. The above would let you upload a vCard to the media manager and make it download on click when added to a post or page.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More