I’m wondering the same thing. Did you ever find an answer?
Unfortunately not. I’ve put off using the plugin I want to use, activation of which causes my current PHP plugin to generate an error message. So I haven’t really faced up to the problem yet.
Till now I’ve been using the plugin ‘PHP Code For Posts’. It allows me to switch almost seamlessly between HTML and PHP by just surrounding the PHP in standard ‘<? PHP’ and ‘<? >’ tags – whether in templates, within actual posts or even widgets. It’s only one plugin (WP-Movies .. or some such name) which is highlighting an incorrect syntax error in the PHP plugin. Others haven’t before, and the sites I’ve been using it on are pretty heavy on plugin use. So if you haven’t tried that PHP plugin, it’s worth installing and trying it to see if you get an error with your particular group of plugins. If you don’t, great! It’s done everything I’ve needed it to till now. Unfortunately I don’t think it’s being actively supported / developed any more, so I can’t just fire the issue at the developer. 🙁
Hope this helps a little. 🙂
Best regards,
Kevin
I’ve just remembered, and thought I should add, that I ONLY get the error message on an offline development site I use, using a phantom XAMP server. I don’t get it on my live ‘online’ site. So if you do your developing online, it makes it even more likely that ‘PHP Code For Posts’ will solve your problems. 🙂
Plugin Author
Alex
(@alexander_fuchs)
Hi, sorry for answering late. At the moment this plugin only supports one instance, but I am looking into implementing multiple shortcodes.
Many thanks for the response. I’ll await the outcome of your pondering with baited breath. 🙂
I’ve mentioned another plugin a couple of times above. Till now it has allowed me to just switch virtually seamlessly between PHP and HTML. (Doesn’t even need shortcodes … at least not conscious ones!) It MAY provide a ‘Eureka!’ moment, if you’re seeking inspiration. 🙂
Plugin Author
Alex
(@alexander_fuchs)
I jsut updated the plugin with my own implementation