Insert PHP Code in Rich Editor
-
I am trying to insert php code using the Rich Editor with the latest version of WordPress.
To do this I have download and installed a copy of Exec-php which allows me to insert php code with the tags
<?php ?>
or[?php ?]
. It is recommended on the page I use the second if I’m using the Rich Editor because it will destroy the code otherwise.What i’m finding is that there appears to be no way to fully counteract the automatic changes of the editor. It puts in
<br />
tags after each line, it automatically parses anything within< >
tags, so if I want to echo an html tag, it is echo’d immediately to the text page, rather than when the php calls it.The functionality of the rich editor ( Gallery2 Support for example ) is great, but it seems like people wanting to do anything other than put text and images in posts get left out..
Does anyone have a solution for this?
My apologies if my post comes out misformed, first post..
- The topic ‘Insert PHP Code in Rich Editor’ is closed to new replies.