Viewing 5 replies - 1 through 5 (of 5 total)
  • Mike

    (@michael-copestake)

    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:
    http://codex.ww.wp.xz.cn/Shortcode_API

    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:
    http://ww.wp.xz.cn/plugins/php-code-for-posts/
    http://ww.wp.xz.cn/plugins/allow-php-in-posts-and-pages/

    Hope that helps get you on the right track.

    Thread Starter wasanajones

    (@wasanajones)

    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

    Mike

    (@michael-copestake)

    Hi @wasanajones

    It’s because it’s such a security risk, that’s why it’s best to make shortcodes if you can 🙂

    Thread Starter wasanajones

    (@wasanajones)

    thanks — time to start doing things correctly… goes against my nature

    Mike

    (@michael-copestake)

    Haha, it is best to try and do things properly 😉

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

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