Title: Not working with echo do_shortcode()
Last modified: June 10, 2020

---

# Not working with echo do_shortcode()

 *  Resolved [rodolfomares](https://wordpress.org/support/users/rodolfomares/)
 * (@rodolfomares)
 * [5 years, 12 months ago](https://wordpress.org/support/topic/not-working-with-echo-do_shortcode/)
 * If I add the form in my post or page with a shortcode block (in gutenberg editor)
   and then use the_content() it works.
 * If I put the form manually on my template page with echo do_shortcode(), the 
   sweet alert doesn’t show up. Please check.

Viewing 1 replies (of 1 total)

 *  Thread Starter [rodolfomares](https://wordpress.org/support/users/rodolfomares/)
 * (@rodolfomares)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/not-working-with-echo-do_shortcode/#post-12994888)
 * My mistake, it’s working.

Viewing 1 replies (of 1 total)

The topic ‘Not working with echo do_shortcode()’ is closed to new replies.

 * ![](https://ps.w.org/addon-sweetalert-contact-form-7/assets/icon-256x256.png?
   rev=2279783)
 * [Add-on SweetAlert Contact Form 7](https://wordpress.org/plugins/addon-sweetalert-contact-form-7/)
 * [Support Threads](https://wordpress.org/support/plugin/addon-sweetalert-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/addon-sweetalert-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/addon-sweetalert-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/addon-sweetalert-contact-form-7/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [rodolfomares](https://wordpress.org/support/users/rodolfomares/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/not-working-with-echo-do_shortcode/#post-12994888)
 * Status: resolved