Enable vCard Upload

The WordPress media library is restricted to certain file types, and vCards are not one of them. Add this code to your theme’s functions.php file or core functionality plugin to allow vCard uploads.

 * Enable vCard Upload 
function be_enable_vcard_upload( $mime_types ){
  $mime_types['vcf'] = 'text/vcard';
  return $mime_types;
add_filter('upload_mimes', 'be_enable_vcard_upload' );

Bill Erickson

Bill Erickson is the co-founder and lead developer at CultivateWP, a WordPress agency focusing on high performance sites for web publishers.

About Me
Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk