Title: execute PHP in popover
Last modified: August 21, 2016

---

# execute PHP in popover

 *  Resolved [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/execute-php-in-popover/)
 * is there something to add to functions.php to allow PHP execution in the popover?
   thanks
 * [http://wordpress.org/plugins/wordpress-popup/](http://wordpress.org/plugins/wordpress-popup/)

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

 *  [Mike](https://wordpress.org/support/users/michael-copestake/)
 * (@michael-copestake)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/execute-php-in-popover/#post-4021912)
 * Hi [@wasanajones](https://wordpress.org/support/users/wasanajones/)
 * Not really because PopUp uses the WordPress Visual editor which does not allow
   PHP. There are a couple of things you could do.
 * The best solution would be to create your own shortcodes and use them:
    [http://codex.wordpress.org/Shortcode_API](http://codex.wordpress.org/Shortcode_API)
 * If you really don’t want to do that then you could use a plugin that allows you
   to use PHP with the Visual Editor, something like these maybe:
    [http://wordpress.org/plugins/php-code-for-posts/](http://wordpress.org/plugins/php-code-for-posts/)
   [http://wordpress.org/plugins/allow-php-in-posts-and-pages/](http://wordpress.org/plugins/allow-php-in-posts-and-pages/)
 * Hope that helps get you on the right track.
 *  Thread Starter [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/execute-php-in-popover/#post-4021995)
 * thanks for response. executing PHP is sure a lot more complicated than it used
   to be… those two plugins look good (thanks) but there are comments on support
   forum that they have issues with WP multisite subsites… then looking at other
   plugins seeing lots of comments about conflicts… I also need PHP in posts, I 
   used to use old PHP Execution plugin but that doesn’t work anymore either… will
   try to figure out the workarounds for multisite and/or write a shortcode (reach
   exceeding grasp)… and keep searching
 *  [Mike](https://wordpress.org/support/users/michael-copestake/)
 * (@michael-copestake)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/execute-php-in-popover/#post-4022130)
 * Hi [@wasanajones](https://wordpress.org/support/users/wasanajones/)
 * It’s because it’s such a security risk, that’s why it’s best to make shortcodes
   if you can 🙂
 *  Thread Starter [wasanajones](https://wordpress.org/support/users/wasanajones/)
 * (@wasanajones)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/execute-php-in-popover/#post-4022132)
 * thanks — time to start doing things correctly… goes against my nature
 *  [Mike](https://wordpress.org/support/users/michael-copestake/)
 * (@michael-copestake)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/execute-php-in-popover/#post-4022231)
 * Haha, it is best to try and do things properly 😉

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

The topic ‘execute PHP in popover’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popup/assets/icon-256x256.gif?rev=3446944)
 * [Hustle - Email Marketing, Lead Generation, Optins, Popups](https://wordpress.org/plugins/wordpress-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popup/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [pop over](https://wordpress.org/support/topic-tag/pop-over/)

 * 5 replies
 * 2 participants
 * Last reply from: [Mike](https://wordpress.org/support/users/michael-copestake/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/execute-php-in-popover/#post-4022231)
 * Status: resolved