I found out how to fix the <br > issue from this link:
http://weblogtoolscollection.com/archives/2003/12/29/remove-extra-line-breaks-in-wordpress/
It turns out that all the php module will do the same thing because wordpress’ core engine is adding the line breaks, and not the plugins.
Basically, edit the file functions-formatting.php in folder wp-includes
Change:
function wpautop($pee, $br=1) {
to:
function wpautop($pee, $br=0) {
and it should fix the problem.
I’m having a problem with the phpexec plugin as well. I’m running WP 2.0.4. I activated the plugin but when I put php code in a “page” nothing happens. If I wrap the code in “phpcode” or “pre” tags what displays is this instead of the actual inc file:
<pre>
<?php include("books3.inc"); ?>
</pre>
Am I doing something wrong? You can see what I’m talking about here. What should be displaying is a list of book ratings like the ones in the sidebar.
Help!