In Twenty Eleven, I am using the WordPress HTML editor to add a php includes in a page. I type
<?php include 'somefile.inc.php'; ?>
and save the draft. When I preview the page in Twenty Eleven, the code shows as text. When I go bak to the HTML I find that a space has been inserted in front of the question mark < ?php, making it invalid.
I can’t figure out why–is it the HTML editor or the theme that is doing this?
- The topic ‘[Theme: Twenty Eleven] Is it the theme or the WP HTML editor that is causing php incude problem?’ is closed to new replies.