This topic has 2 replies, 2 voices, and was last updated 7 years, 11 months ago ago by Eva Kemp
Apparently, WP does not like the epub extensions, yet we are planning on selling ebooks.
I found this snippet, which needs to be added to the functions.php of the theme, and wanted to make sure of two things:
1. will it be compatible with Royal?
2. what is “application/octet-stream”? is it directory where the epub files should be residing?
<?php
function addUploadMimes($mimes) {
$mimes = array_merge($mimes, array(
'epub' => 'application/octet-stream'
));
return $mimes;
}
?>
add_filter('upload_mimes', 'addUploadMimes');
Hello,
We don’t guarantee full compatibility of 3rd-party plugins with the theme.
You can order additional support via this form https://www.8theme.com/customization-services/ to get assistance on your query from our developers.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up