Shortcode for php snippet not working

[ad_1]

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?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer