Shortcode only works from functions.php
-
Hi!
I’ve written a plugin and I wanted to use a shortcode in it. If I put the add_shortcode in the plugin file, it’s not working! In the frontend it’s rendered like [shortcode]. If I put it in the functions.php it’s rendering fine! Why is that?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Shortcode only works from functions.php’ is closed to new replies.