Closed bozdoz closed 1 year ago
@bozdoz , thank you, I tested it. This looks like a good approach, however 2 more things need to be updated for the lightbox to work: when I comment out line 384 and change line 394 to interpolation commas: Screenshot
384: //$message = addslashes($message);
394: echo "{$shape}.bindPopup(`{$message}`)";
@yonkov , it's good that you made a comment. I could not decide whether it fits or not.
@yonkov backticks are a whole different conversation.
So your plugin must be filling in js variables; otherwise, I have no idea why backticks are working.
This just seems like such a one-off solution to a specific problem.
@bozdoz , this is now working!!! Many thanks!!! : )))
I used the exact code snippet you suggested, returning the shortcoded
variable. The styling issues are also resolved.
Great work, i will leave a 5-star review in wp.org.
What do you think @yonkov