sul .htaccess della directory di WP:

AddType application/epub+zip .epub
AddType application/x-mobipocket-ebook .mobi

mentre sul file function.php del tema:

function addUploadMimes($mimes) {
    $mimes = array_merge($mimes, array(
        'epub|mobi' => 'application/octet-stream'
    ));
    return $mimes;
}
add_filter('upload_mimes', 'addUploadMimes');
Floating Social Media Icons Powered by Acurax Blog Designing Company
Visit Us On TwitterVisit Us On FacebookVisit Us On Google Plus