Home>Support>Outlook vcard
  1. 9 years, 5 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