Really Easy Way to Add Code to WordPress Posts
just compose your post in the visual editor and when you’re done – ONLY WHEN YOU’RE COMPLETELY DONE WRITING THE CODE – switch to the html editor… viola! <?php echo "damn that's easy"; ?>
probably not the greatest if you have to come back and edit that code but it works for a quick fix without a plugin.