My goal is to use custom icons in the lightbox displa for X < and >.
A designer provided png version of icons. I placed a icons.png in the public/img directory and unchecked the Use SVG Icons box in the WordPress Easy Swipe Box plug-in settings page.
However, the lightbox display is still using the svg image.
I then set the plug-in to debug mode and did some checking in the jquery.swipebox.js file and found that plugin.settings.useSVG is true at line 172 eventhough the Use SVG icons check box. is unchecked. (The value for useSVG is 0 in easySwipeBox_lightbox option in wp database)
alert(plugin.settings.useSVG); // returns true even though use SVG is unchecked
if ( supportSVG && plugin.settings.useSVG === true )
Other than creating a replacement icons.svg is there a workaround for me to use my own icons.png?
- The topic ‘Use custom icons’ is closed to new replies.