In WordPress the upload will be yoursvCard blocked as *.vcf file. Use this code to allow the upload:
/**
* 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' );
The code must be included in the functions.php. If you need help with that, we’re here to help!
Dieser Beitrag ist auch verfügbar auf:
Deutsch (German)