do_shortcode not working
-
When I put the shortcode in the text editor it displays properly:
[gotowebinar-reg key=”4634038406459723019″]But I need the shortcode in my php markup and I get an error.
“The webinar either no longer exists or an error has occured.”This is my php.
<?php echo do_shortcode(‘[gotowebinar-reg key=”4634038406459723019″]’); ?>I’m still in the WP loop and I checked my quote marks so I can’t figure what’s happening.
The page I need help with: [log in to see the link]
- The topic ‘do_shortcode not working’ is closed to new replies.