Make WordPress SVG Friendly

If you are a vector-loving SVG enthusiast then you will certainly want to extend the functionality of your WordPress install to make the Media Library SVG friendly. Use the following code snippet in your functions.php file:


Remove Divi Builder Button for WP User Role Author

To make things easier for the client hand-off, I removed the Divi builder button from the back-end, using the following code:

Divi Friendly Global Footer

This trick will allow you to create a Divi friendly footer (within the front-end builder) and then via a child theme modification to the footer.php file, have it echo throughout your site.


And the code to enter in your footer.php file. Make sure to replace the relevant post # with your own: