• Resolved lmstearn

    (@lmstearn)


    Hi,

    Looking to upload media file with non-standard extension (not executable). Is this possible to change as with the code for svg mime type to go in functions.php?

    Also, using a few css snippets in bbPress style pack – would they be easy to port over to ASE Snippets?

    Finally, a few other snippet managers offer cloud services, is it, or will it be a milestone for ASE?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bowo

    (@qriouslad)

    @lmstearn there is currently no feature to allow certain file types to be uploaded to the media library.

    Don’t know how those bbPress snippets will behave, but CSS is CSS, so, I suppose they should work. Give it a try.

    No plan for a cloud snippet feature at the moment.

    Thread Starter lmstearn

    (@lmstearn)

    Hi Bowo, thanks for the response.

    As to the file types, it’s supposed to be done by a snippet like the following:

    function my_myme_types($mime_types){
        $mime_types['svg'] = 'image/svg+xml'; // Adding svg extension
        $mime_types['psd'] = 'image/vnd.adobe.photoshop'; // Adding photoshop files
        return $mime_types;
    }
    add_filter('upload_mimes', 'my_myme_types', 1, 1);

    For non “media” files, the code from this answer works when inserted into the theme’s functions.php. No problem with that for the Code Snippets Manager?

    As it stands, we are still yet to set up a child theme – so in the meantime – … it has been quite some time. 🙂

    We’ll give ASE CSM a go once on board! 😉

    Plugin Author Bowo

    (@qriouslad)

    @lmstearn yes, no specific module / feature at the moment to allow you to add additional mime types to be allowed in media library uploads.

    Please login to your account and open a support ticket for any inquirey about ASE Pro. This wp.org forum is strictly limited to support the free version of ASE, per the forum’s guidleines. Thank you for your understanding.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.