Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   [SOLVED] Custom PHP code shown as HTML (http://forum.bytesforall.com/showthread.php?t=20027)

typo Mar 29, 2013 06:03 PM

[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 :)

juggledad Mar 29, 2013 06:42 PM

how are you using them?

typo Mar 29, 2013 06:49 PM

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.

juggledad Mar 29, 2013 07:23 PM

i just put
HTML Code:

[insert_php]echo 'hello World<br>'; [/insert_php]
into as post and it worked fine. Try shutting off all oter plugins and see if there is a conflict

typo Apr 1, 2013 12:04 AM

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 06:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.