Title: [Plugin: Shortcode Exec PHP] HTML within does not work
Last modified: August 20, 2016

---

# [Plugin: Shortcode Exec PHP] HTML within does not work

 *  [charlievie](https://wordpress.org/support/users/charlievie/)
 * (@charlievie)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-html-within-does-not-work/)
 * I tried this plugin, but unfortunately as soon as you try to include HTML it 
   does not work anymore.
 * If you need more information, please contact me.
 * Here is the Code:
    _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Any ideas what’s wrong?
 * Cheers
    -= Charlie =-
 * [http://wordpress.org/extend/plugins/shortcode-exec-php/](http://wordpress.org/extend/plugins/shortcode-exec-php/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-html-within-does-not-work/#post-2421481)
 * You can also post your code in the [support forum](http://blog.bokhorst.biz/3626/computers-and-internet/wordpress-plugin-shortcode-exec-php/).
 * html code should be preceded by `?>` and followed by `<?php`.
 *  Thread Starter [charlievie](https://wordpress.org/support/users/charlievie/)
 * (@charlievie)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-html-within-does-not-work/#post-2421673)
 * OK, this is what I did wrong. I closed the HTML code with only “<?” and not with“
   <?php?. I will try it out again and update my post.
 * Thanks
 * Cheers
    -= Charlie =-
 *  Thread Starter [charlievie](https://wordpress.org/support/users/charlievie/)
 * (@charlievie)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-html-within-does-not-work/#post-2421674)
 * OK, I used the correct tags now and it works. Thank you for your help.
    I will
   change my Vote on the plugin page of course. Thanks again.
 * Cheers
    -= Charlie =-

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Shortcode Exec PHP] HTML within does not work’ is closed to 
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shortcode-exec-php.svg)
 * [Shortcode Exec PHP](https://wordpress.org/plugins/shortcode-exec-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcode-exec-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-exec-php/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-exec-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-exec-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-exec-php/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [charlievie](https://wordpress.org/support/users/charlievie/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-html-within-does-not-work/#post-2421674)
 * Status: not resolved