• Resolved suge1w

    (@suge1w)


    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

    (@numeeja)

    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.