hi, i have tried this solution to upload a vcf file
https://kriesi.at/support/topic/help-required-to-add-vcf-to-website/
this doesnt work.
also i have tried
this code:
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;
}
doesnt work
i habe tried one plugin: https://de.wordpress.org/plugins/enable-vcard-upload/
doesnt work
i have tried this plugin: https://wordpress.org/plugins/pjw-mime-config/
doesnt work
this plugin works: https://de.wordpress.org/plugins/wp-add-mime-types/
Hey caw67,
So do you mean the issue is solved with the help of
plugin?
Best regards,
Victoria
yes, but i want to know why the solution in the function doesnt work!
Hi caw67,
It should work. There can be many reasons, a set of plugins that you use, the server configuration and so on.
Did you put it in the child theme?
Best regards,
Victoria
“a set of plugins that you use, the server configuration and so on” doesnt matter, because the one plugin works. so: the server must ne right, all plugins must be right.. ok. you cant help. it ok
Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon