Hi @lullabyman,
Thanks for your kind review!
Could you please open a support ticket so we can discuss your situation further rather than on a review thread?
FYI, for others who might run into this problem, you have to do 3 things:
(1) Use inline SVG, just select this option in the settings panel
(2) Use the “style-svg” class, just select this option in the settings panel
(3) *Delete* the title that is wordpress so kindly automatically creates for you when you upload your SVG using the library. This is what I wasn’t doing. See
https://drive.google.com/file/d/0B3dbrj98d4NEem1sekp2al82bUk/view?usp=sharing
This needs to be blank.
Thanks again BenBodhi for an awesome plugin!
Thanks for updating this thread 🙂
But you shouldn’t need to remove the title of the uploaded SVG, I didn’t and it works fine.
You simply need to render it inline which requires “Advanced Mode” to be active and then you to put the class in your embedded img tag so my plugin swaps the <img>
tag with the inline <svg>
code.
Thanks for your support and using my plugin 😀
Okay. I’m thinking now what really did it is forcing the svg class, which I didn’t include in the above instructions.
Incidentally, at least for me, I was really confused where to select the options in the setting panel for assigning the style-svg class and forcing it, which your documentation mentions. It wasn’t until I went back to the settings after I saved the advanced mode settings that I discovered these other options, and then untoggled the Advanced option to see them disappear again after I saved the non-advanced settings.
So at least for me, would have saved headache if those other settings didn’t disappear entirely when the advanced settings wasn’t saved. If they were just grayed out when not available, or make them appear when the advanced settings checkbox is selected (ajaxian like), if that makes sense, would have saved me a lot of confusion. But then I seem to be a real good test case how idiots tend to approach things … so maybe I’m the only one that would mess up.
Hahaha, I know what you mean. I have been thinking about “ajaxifying” the settings to be honest. I’ve never really had any other mentions of this, but it’s something I want to do anyway to make for a cleaner interface.
Thanks for the suggestion. I’m actively working on another release so will take his on board.