Allow SVG Uploads in WordPress (Fixed: Sorry, you're not allowed to upload this file type)

Sdílet
Vložit
  • čas přidán 20. 06. 2024
  • In this video I am going to guide you how you can upload SVG files on your WordPress website without errors.
    By default in the latest versions of WordPress if you try to upload SVG files using Media Library, most likely you will not even able to select them from your computore. If you try to do it from the Block Editor (Image block for example), be ready to get an error: "Sorry, you're not allowed to upload this file type".
    And right now I am about to show you how to fix both of these.
    And by the way, in the video I am showing you a nice logo carousel, it is just a custom Gutenberg block, I am showing it in details in another video:
    • Auto-Scrolling Respons...
    #wordpress #svg

Komentáře • 1

  • @rudrastyh
    @rudrastyh  Před 12 dny

    Almost forgot, there is also a blog post on my site about allowing SVG uploads, you can also find a code approach there rudrastyh.com/wordpress/svg-support.html