Problem inserting PHP with exec php and another plugin
-
I use the datafeedr plugin for a site of mine and also use exec php so I can insert PHP into pages and posts. Everything works fine until I try to insert PHP into an HTML module within Datafeedr.
I have disabled the visual editor, but when I try to post this code:
<?php $keyword = the_title("", "", false); $text .= '[phpbay]' . $keyword . ', "20", "", ""[/phpbay]'; echo phpBayPro($text); ?>
It ends up looking like this after I save it.
<p><?php<br /> $keyword = the_title("", "", false);<br /> $text .= '[phpbay]' . $keyword . ', "20", "", ""[/phpbay]';<br /> echo phpBayPro($text);<br /> ?></p>
At first I figured it was because it is with a WYSIWYG, but I have made sure that I was in CODE mode rather than VISUAL and have now just disabled the visual editor altogether.
Any ideas of what I should try?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problem inserting PHP with exec php and another plugin’ is closed to new replies.