Hi.
There is a conflict with the internal variables of the plugin: $attr, $content, $tag. Therefore, these names of attributes in shortcode not working correctly.
Foe example:
[wbcr_php_snippet id="26837" title="Dokumenty a filmy" mytag="v-dvd"]
var_dump($mytag);
Hi, after updating the plugin, my code doesn’t work anymore
<iframe style="width: 100%; height: 1100px;" src="http://autodiag.jediagnostiquemaferme.com/[insert_php] echo isset($_GET['token'])?'?token='.$_GET['token']:''; [/insert_php]" width="300" height="150"></iframe>
I get this answer
Oops! An Error Occurred
The server returned a “404 Not Found”.
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
Thanks in advance for your help
Cédric
Hi, @apc13100.
You had to create your own forum thread.
You are using the old snippet syntax. It is disabled by default in the new version of the plugin. But you can enable it in Woody Settings.
I advise you to use the new syntax [wbcr_php_snippet id=”123″]. Documentation
-
This reply was modified 7 years ago by
Temyk.
-
This reply was modified 7 years ago by
Temyk.