Plugin Author
Artem
(@webtemyk)
Hello.
Most likely, the editor replaces the standard quotation marks on your site with something else.
Yeap, it indeed affects the double quotation marks. I see it it MySQL page content. But it is not the point of my question.
Check this sample page pls: https://tinyurl.com/ycycsbr2
All of the buttons and the images links returns:
[wbcr_snippet]: PHP snippets error (not passed the snippet ID)
It is deployed from scratch and has only Woody, Astra, and Elementor plugins activated at this very moment.
The sample page uses single quotation marks in the first two examples. ([wbcr_snippet id=‘Number‘])
And the 3rd example is similar to the first one, but with the double quotation marks to show the difference. ([wbcr_snippet id=”Number”])
I understand why “ replaced to " or to \” , since it could break the code. But the single quotation mark has not changed anywhere, as I can see it in MySQL database. Still, it executes only in the text links.
Maybe the space between “snippet” and “id” in the snippet code ([wbcr_snippet id=’Number’]) could be the reason?
What else could be the cause of this behavior? Any suggestions on how to fix it?
Thanks.
Plugin Author
Artem
(@webtemyk)
It is possible that the text is processed after it is received from the database. Can you show the code of the page where the shortcodes are inserted?