Monthly Archives: February 2013

Dealing with MIME types

Syllabus for Capstone I agenda alt Syllabus for Engineering Dynamics Apparently, to get txt and m files to upload, you need to do the following: add a function to functions.php (tucked away in local_install_dir/wordpress/wp-content/themes/my_current_theme/): add_filter(‘upload_mimes’,’add_custom_mime_types’); function add_custom_mime_types($mimes){ return array_merge($mimes,array ( … Continue reading

Posted in Uncategorized | Comments Off