How do I restrict which users can upload?

Head over to your WordPress admin dashboard. From here you want to go to Settings > WP SVG. On that page, you’ll see a section like below: In this section, change the Restrict Users dropdown to Yes and tick the

My SVG isn’t looking right after uploading it

Your first port of call here is the Sanitisation Log that was added in version 1.9.0 of the plugin. You can get to this under Settings > WP SVG > Sanitisation Log. Find the file you uploaded and see if there

Class ‘DOMDocument’ not found

This will happen when a class that the sanitiser relies on is not installed on your server. Unfortunately this isn’t something we can help with but these posts should help point you in the right direction.

XML Headers Appearing Inline

If you’ve added a file before activating WP SVG you may still have XML headers in your SVG file. These don’t play so well when inlined into HTML so you can use a function like the below to fix this,