Hi Ben,
Thanks for taking the time to look at this for me. Unfortunately it still doesn’t seem to work. I’m not a programmer so it took me a while to work out how to do what you recommended but I think i got there in the end. Would you mind having a quick look at the code in my functions.php file to check I’ve inserted it correctly? Also slightly concerned that the script says not to edit it any way!
Thanks
Tim
<?php
// Exit if accessed directly
if( !defined( ‘ABSPATH’ ) ) {
exit;
}
/**
*
* WARNING: Please do not edit this file in any way
*
* load the theme function files
*/
$template_directory = get_template_directory();
require( $template_directory . ‘/core/includes/functions.php’ );
require( $template_directory . ‘/core/includes/functions-update.php’ );
require( $template_directory . ‘/core/includes/functions-sidebar.php’ );
require( $template_directory . ‘/core/includes/functions-install.php’ );
require( $template_directory . ‘/core/includes/theme-options/theme-options.php’ );
require( $template_directory . ‘/core/includes/post-custom-meta.php’ );
require( $template_directory . ‘/core/includes/tha-theme-hooks.php’ );
require( $template_directory . ‘/core/includes/hooks.php’ );
require( $template_directory . ‘/core/includes/version.php’ );
require( $template_directory . ‘/core/includes/upsell/theme-upsell.php’ );
add_filter( ‘prso_adv_uploader_reject_mimes’, ‘prso_uploader_add_mime’ );
function prso_uploader_add_mime( $allowed_mime_types ) {
$allowed_mime_types[‘wav’] = ‘audio/x-wav’;
return $allowed_mime_types;
}
// Return value of the supplied responsive free theme option.
function responsive_free_get_option( $option, $default = false ) {
global $responsive_options;
// If the option is set then return it’s value, otherwise return false.
if( isset( $responsive_options[$option] ) ) {
return $responsive_options[$option];
}
return $default;
}
?>