Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #842956

    Last WordPress supports SVG normally. To upload svg into the media library I add the next code to functions.php:

    function cc_mime_types($mimes) {
      $mimes['svg'] = 'image/svg+xml';
      return $mimes;
    add_filter('upload_mimes', 'cc_mime_types');

    …but Enfold’s visual editor doesn’t support this type of images. Please add SVG support by theme side.


    Hey Bogdan,

    Here are some threads to consider: (Purchase code hidden if logged out) -as-a-featured-image/

    If you need further assistance please let us know.
    Best regards,


    Thank you Victoria.
    I can try to manipulate the functions.php file but this makes me a little nervous, the last time I added code to the functions.php file it somehow dropped my entire site and I had to restore from a backup. Do you recommend a safe way to do this? Is it better to do this from cPaneIs file manager rather than wordpress?



    Cpanel will say if you have an error and it will not save it! ;-)
    That will be helpful for you to get things done with no errors.

    Best regards,

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.