Multiple PHP Instances
-
Hi Alexander
I’m trying to find a replacement for another PHP plugin, which seems under some circumstances to be generating an error message. I’m using PHP extensively on a site I’m developing and have got used to just putting “<? php …. ?>” anywhere – in posts, pages, templates etc. I’ve got posts and templates which switch from html to php … then back … then back again, etc.
Is there a way of using multiple instances of the shortcode within the same post? Or is it necessary to put everything after the first PHP instance inside the one shortcode wrapper? If the latter, what happens if there’s PHP in a template using the shortcode, then there’s another instance of the shortcode within the post the template is being applied to?
Or do I just need to try it, to find out? ??
Any info / guidance very gratefully received.
Best regards,
Kevin
- The topic ‘Multiple PHP Instances’ is closed to new replies.