Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] Custom PHP code shown as HTML


  #1  
Old Mar 29, 2013, 06:03 PM
typo
 
8 posts · Mar 2013
[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

Last edited by typo; Mar 29, 2013 at 06:29 PM.
  #2  
Old Mar 29, 2013, 06:42 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
how are you using them?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 29, 2013, 06:49 PM
typo
 
8 posts · Mar 2013
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.
  #4  
Old Mar 29, 2013, 07:23 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Apr 1, 2013, 12:04 AM
typo
 
8 posts · Mar 2013
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

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to put html-code between logo and rss SilverStreet Header configuration & styling 1 May 8, 2011 03:17 PM
[SOLVED] plugin for a html sitemap which can be shown in a navigation bar guvenp Plugins & Atahualpa 2 Nov 19, 2010 07:43 AM
Where is CSS / HTML code to edit? JulieBMack Plugins & Atahualpa 3 Jul 25, 2010 07:22 PM
Can I put HTML code into the right margin? CreativePartyLady Forum How-To 1 Oct 11, 2009 06:16 AM
Google Analystic not shown even I add the code... yosh66 Plugins & Atahualpa 6 Jul 9, 2009 02:37 PM


All times are GMT -6. The time now is 03:31 PM.


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