Title: How to add PHP code into Lightbox?
Last modified: August 22, 2016

---

# How to add PHP code into Lightbox?

 *  [mladja04](https://wordpress.org/support/users/mladja04/)
 * (@mladja04)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/how-to-add-php-code-into-lightbox/)
 * How to add php code which will be into ligntbox popup?
 * I want to put into it Facebook share button, and for that I need PHP function.
   
   I use into my site plugin with name Exec-PHP, but it add possibility to put pHP
   code only into pages or into text, I can’t to use php into lightbox.
 * Thank you
 * [https://wordpress.org/plugins/easy-notify-lite/](https://wordpress.org/plugins/easy-notify-lite/)

Viewing 1 replies (of 1 total)

 *  [Botrax](https://wordpress.org/support/users/botrax/)
 * (@botrax)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/how-to-add-php-code-into-lightbox/#post-5885837)
 * This could be useful in a situation of ad rotation in Lightbox. Please advise.

Viewing 1 replies (of 1 total)

The topic ‘How to add PHP code into Lightbox?’ is closed to new replies.

 * ![](https://ps.w.org/easy-notify-lite/assets/icon-256x256.png?rev=1226976)
 * [Easy Notify Lite](https://wordpress.org/plugins/easy-notify-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-notify-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-notify-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-notify-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-notify-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-notify-lite/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Botrax](https://wordpress.org/support/users/botrax/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/how-to-add-php-code-into-lightbox/#post-5885837)
 * Status: not resolved