Title: Using in PHP
Last modified: February 6, 2017

---

# Using in PHP

 *  Resolved [suge1w](https://wordpress.org/support/users/suge1w/)
 * (@suge1w)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/using-in-php/)
 * Is this possible to embed within php? I’m using php code within a widget. I want
   the following link to open within a popup:
 * `<?php echo do_shortcode('[author_review]'); ?>`
 * Is this possible?

Viewing 1 replies (of 1 total)

 *  Plugin Author [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/using-in-php/#post-8745186)
 * You can make any link into a popup link by adding the ‘popup’ class and data 
   attributes to the link as described in the alligator popup plugin’s documentation.
 * I don’t know how the author_review shortcode you have listed works or what it
   outputs, but if it outputs a link, you would need to be able to add the class
   and data attributes to that link. The author of the plugin that adds that shortcode
   might be able to help with this.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/alligator-popup/assets/icon-256x256.png?rev=1485172)
 * [Alligator Popup](https://wordpress.org/plugins/alligator-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/alligator-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/alligator-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/alligator-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/alligator-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/alligator-popup/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [cubecolour](https://wordpress.org/support/users/numeeja/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/using-in-php/#post-8745186)
 * Status: resolved