Title: [Plugin: Simple Popup Plugin] shows error
Last modified: August 20, 2016

---

# [Plugin: Simple Popup Plugin] shows error

 *  [Chanakya](https://wordpress.org/support/users/rituraj/)
 * (@rituraj)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-simple-popup-plugin-shows-error/)
 * Showing error while placing the “<?php echo do_shortcode(‘[popup url=”[http://popupurl.com’%5DLINK](http://popupurl.com’%5DLINK)
   TEXT[/popup]’); ?>” code in theme file.
 * [http://wordpress.org/extend/plugins/simple-popup-plugin/](http://wordpress.org/extend/plugins/simple-popup-plugin/)

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

 *  [Masselyn](https://wordpress.org/support/users/masselyn/)
 * (@masselyn)
 * [14 years ago](https://wordpress.org/support/topic/plugin-simple-popup-plugin-shows-error/#post-2575870)
 * I have the same thing, and would really love to see if the developers know why
   this is happening. I just need a simple pop-up feature and I thought this was
   it – but I need it to work in PHP theme files.
 *  [Masselyn](https://wordpress.org/support/users/masselyn/)
 * (@masselyn)
 * [14 years ago](https://wordpress.org/support/topic/plugin-simple-popup-plugin-shows-error/#post-2575871)
 * One thing, I figured out that the PHP code they show is not quite right. See 
   the problem below:
 * `<?php echo do_shortcode('[popup url="http://website.com/file.html']Click to 
   view[/popup]'); ?>`
 * The end of the URL should be a quote to match the front – but instead it is an
   apostrophe. The URL you want to point to should be encased between quotation 
   marks. I noticed that when changing this, I no longer got an error but I still
   don’t get the darn thing to work.
 * 🙁

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

The topic ‘[Plugin: Simple Popup Plugin] shows error’ is closed to new replies.

 * ![](https://ps.w.org/simple-popup-plugin/assets/icon-128x128.png?rev=1156554)
 * [Simple Popup Plugin](https://wordpress.org/plugins/simple-popup-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-popup-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-popup-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-popup-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-popup-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-popup-plugin/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Masselyn](https://wordpress.org/support/users/masselyn/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-simple-popup-plugin-shows-error/#post-2575871)
 * Status: not resolved