Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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.

    #843067

    Hey Bogdan,

    Here are some threads to consider:
    https://kriesi.at/support/tags/svg/
    https://kriesi.at/support/topic/ (Purchase code hidden if logged out) -as-a-featured-image/
    https://kriesi.at/support/topic/svg-files/

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

    #1019652

    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?
    Thanks

    #1020089

    Hi,

    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,
    Basilis

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

You must be logged in to reply to this topic.