[SOLVED] Custom PHP code shown as HTML
Hi there,
I am using Code Snippets and Insert PHP together with the Montezuma theme. The pages are able to resolve the PHP to generate dynamic content. However, the interesting thing is that the page also shows my PHP codes after the dynamic content. You can view it here Have everyone encountered this before? How should I resolve this issue? Thanks :) |
how are you using them?
|
Not sure that I understand your question.
I use the [insert_php] tags for the php codes. They work as intended. Just that the php codes are also generated as content. I also call functions using code snippet. You can view the link in my original post. Thank you. |
i just put
HTML Code:
[insert_php]echo 'hello World<br>'; [/insert_php] |
thank you for your prompt replies despite this issue not relating to the theme.
I have deactivated Insert PHP and used Allow PHP in Posts and Pages plugin instead. This resolves the issue :) |
All times are GMT -6. The time now is 07:51 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.