WordPress.org

Support

Support » Plugins and Hacks » [Resolved] execute PHP in popover

[Resolved] execute PHP in popover

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

    @michael-copestake

    WPMU DEV Support Staff

    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.wordpress.org/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://wordpress.org/plugins/php-code-for-posts/
    http://wordpress.org/plugins/allow-php-in-posts-and-pages/

    Hope that helps get you on the right track.

    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

    WPMU DEV Support Staff

    Hi @wasanajones

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

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

    Mike

    @michael-copestake

    WPMU DEV Support Staff

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] execute PHP in popover’ is closed to new replies.