SVG images are not being rendered properly | SVG Support - Wordpress
The output_inline_svg_file() method in the SVG Support plugin for WordPress is not functioning or not printing svg images
I'm utilizing the SVG Support plugin to display images as SVGs in WordPress. I'm printing all SVG images using the plugin's output_inline_svg_file() method, which is not the default method of WordPress.
I've observed that all images render correctly on the live site, but on my development site with the same files, SVG images are not being printed. What could be the issue?
✅ Solution:
After extensive troubleshooting, I discovered that I had protected the development site with an htaccess password, which is causing the problem. The SVG images support requires a HTTP header permission to render an inline SVG, so don't protect the site if you intend to use the SVG Support plugin.