Title: do_shortcode not working
Last modified: September 13, 2021

---

# do_shortcode not working

 *  [LukDvr](https://wordpress.org/support/users/lukdvr/)
 * (@lukdvr)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-not-working-16/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdo_shortcode-not-working-16%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘do_shortcode not working’ is closed to new replies.

 * ![](https://ps.w.org/wp-gotowebinar/assets/icon.svg?rev=2182596)
 * [WP GoToWebinar](https://wordpress.org/plugins/wp-gotowebinar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gotowebinar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gotowebinar/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gotowebinar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gotowebinar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gotowebinar/reviews/)

## Tags

 * [do_shortcode](https://wordpress.org/support/topic-tag/do_shortcode/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 0 replies
 * 1 participant
 * Last reply from: [LukDvr](https://wordpress.org/support/users/lukdvr/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/do_shortcode-not-working-16/)
 * Status: not resolved