Shortcodes not working
-
On the instruction/doc page it says “In both the free and pro versions, our plugin supports external shortcodes.”
Is there something special that we have to do for that to happen? We’ve tried every method and combination we can find and have now wasted hours. We also tried duplicating the template files like the docs say just to see if we can get something, ANYTHING to work. Nope. In the text area of the emails we have [testshortcode] with something as simple as:add_shortcode( ‘testshortcode’, function ( $atts ) {
echo ‘this worked’;
} );add_shortcode( ‘testshortcode’, function ( $atts ) {
return ‘this worked’;
} );We’ve tried brackets, double brackets, curly brackets, etc. We also tried add_action code from the docs.
What are we missing here? Nothing changes the email output whatsoever so far.
thanks!
- The topic ‘Shortcodes not working’ is closed to new replies.