wasting time w wordpress

I just wasted an hour trying to add a Page to my wordpress blog consisting of simple php code to display a modified directory listing. Unfortunately wordpress won’t run php code from Pages. I tried using the phpexec plugin and adding ‘phpcode’ tags both from the html post editor (nope!) and then by directly updating the post_content column of the wp_posts table (nope again; wordpress brushed off that feeble attempt). So I’m giving up now and will rejoin the pre-thanksgiving cleanup effort here on Baker Ave. Where we are looking forward to commemorating FOOD with friends real soon now.

One Response to “wasting time w wordpress”

  1. frog-blog Says:

    OK I finally got it working but discovered a few things about wordpress that are, frankly, nuts. For instance, if you create a directory that happens to be the same name as a Page, wordpress will display a file listing of that directory regardless of whatever code you entered into the Page. Long story short — I got my php Page working with a couple of funky workarounds. -F

Leave a Reply