Shortcode for php snippet not working
-
I’m trying to migrate from another plugin to Code Snippets. I have a PHP snippet that works if I select Auto insert in combination with Run Frontend Only.
However, I would like to use the Shortcode option instead of Auto insert. So I select Shortcode, which gives me
[wpcode id="4334"]
, which I insert as a shortcode (at the top) on one of my pages. But then the code snippet no longer works (it doesn’t seem to be executed anymore). I have set the priority of the code snippet to 1 and use no conditional logic.Any idea what might be the problem?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Shortcode for php snippet not working’ is closed to new replies.