Day: April 25, 2015

  • Allowing WordPress to accept more uploadable file formats

    I was trying to update a html file I uploaded and got the error: File type does not meet security guidelines. Try another. Very annoying. Luckily googling led me to the solution fairly easily. In the functions.php file in your theme add this add_filter(‘upload_mimes’, ‘custom_upload_mimes’); function custom_upload_mimes ( $existing_mimes=array() ) {     // add your…