Enhance your WordPress website with the power of SVG images using the
OH MY SVG plugin. Easily add, manipulate, and optimize SVG images directly within the Gutenberg block editor.
Unlike traditional image blocks, this plugin provides an intuitive interface that allows you to incorporate SVG icons, illustrations, or HTML snippets effortlessly. Experience the convenience of automatic markup sanitation, SVGO optimization, and a range of built-in utilities like color customization, stroke adjustments, and element stripping.
🌟 Smart Dual Storage Modes (New!)
One of the biggest issues with using SVGs in WordPress is database bloat. If you paste a heavy SVG directly into the editor, its entire XML markup gets saved into every single post revision, quickly cluttering your database.
OH MY SVG solves this by offering two distinct storage modes:
- Inline Mode (Best for tiny icons): The SVG markup is embedded directly within the page's HTML. This drastically reduces page load time by eliminating server requests and conserving bandwidth. Ideal for small, lightweight vectors.
- Media Library Mode (Best for heavy illustrations): To prevent database bloat, this mode saves the SVG behind the scenes as a custom post meta attached to the WordPress Media Library. The plugin automatically generates a lightweight PNG proxy image so you can see it in your media grid. On the front end, it renders cleanly using a data URI, keeping your post content light, your database clean, and your page performance high.
Unleash your creativity with endless possibilities—animate SVGs using CSS or JavaScript, modify inner colors, and scale infinitely without losing sharpness.
This plugin can be installed directly from your WordPress site.
- Log in to your WordPress site and navigate to Plugins → Add New.
- Type "OH MY SVG" into the Search box.
- Locate the OH MY SVG plugin in the list of search results and click Install Now.
- Once installed, click the Activate button.
It can also be installed manually using a zip file.
- Download the OH MY SVG plugin from WordPress.org.
- Log in to your WordPress site and navigate to Plugins → Add New.
- Click the Upload Plugin button.
- Click the Choose File button, select the zip file you downloaded, then click the Install Now button.
- Click the Activate Plugin button.