WordPress PopUp - Popover Maker
[resolved] execute PHP in popover (6 posts)

  1. wasanajones
    Posted 3 years ago #

    is there something to add to functions.php to allow PHP execution in the popover? thanks


  2. Mike
    WPMU DEV Support Staff
    Posted 3 years ago #

    Hi @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:

    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:

    Hope that helps get you on the right track.

  3. wasanajones
    Posted 3 years ago #

    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

  4. Mike
    WPMU DEV Support Staff
    Posted 3 years ago #

    Hi @wasanajones

    It's because it's such a security risk, that's why it's best to make shortcodes if you can :-)

  5. wasanajones
    Posted 3 years ago #

    thanks -- time to start doing things correctly... goes against my nature

  6. Mike
    WPMU DEV Support Staff
    Posted 2 years ago #

    Haha, it is best to try and do things properly ;-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress PopUp - Popover Maker
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic