Inline render doesn’t seem to work
-
Hello:
I can’t figure out how to get this plugin to render SVG inline, can you advise? Basic SVG img support works though. Below tests are all inspected using VIew Source in Chrome.
Here’s what I tried:
I enabled advanced options.
I tried inlining my site logo. Automatic Insertion of Class didn’t add a class when I inserted the logo image. Force Inline SVG didn’t do anything. My theme does not support custom classes on the logo, so I didn’t try manually adding.
I tried inserting an image via an Elementor image widget, then using the widget’s custom classes field to add the target class, but elementor adds the class to a wrapper, not the img directly. Maybe that’s why that didn’t work?
I tried inserting an image into a page, in text/html view, and manually adding target class in text/html view. I thought this would work. But didn’t.
I tried enabling Automatic Insertion of class. Ths did add class (only on new insertions) but did not result in inlined svg.
I tried Force Inline SVG. Didn’t do anything.
I tried my own class name instead of the default. No difference.
I disabled all other plugins to see if there was a conflict. No difference.
Some but not all of these tests resulted in a class being added to the SVG img, but none resulted in the targeted img being replaced with inline svg.
What else should I try? Any WP config things to check?
Thanks!
Bruce
- The topic ‘Inline render doesn’t seem to work’ is closed to new replies.