Ok, I’m learning PHP and I want to set up a weblog to chronicle the stupid mistakes.. er, well everything.
But, I need to execute PHP in entries to do this the way I want to. So, I need a plugin for it and I don’t know how to write it, clearly.
Anyone feeling nice and generous? =) Think of how helpful I’ll be if I know PHP! I mean, really…
It would be fairly easy to set up if:
I could create a plugin like that would parse the php in that field for you in no time. But if you want to combine normal text and php code, then things become a bit more complicated… 😊
If you can do that, Lodewijk, that would be perfect. I can just set up multiple custom fields, I have no problem with that.
Ideally, I’d prefer that within the code I could put something like [php] code [/php] and it parses that, so that I don’t need that many custom fields. But a simple plugin that simply executs the php in a particular field would work for me. By the time I need something more indepth maybe I’ll know how to make it myself 😉
Works as described earlier.
Works great for templates and entries.
Ugh, it’s encoding the < and > so the php isn’t executing. I can’t even think at 6:15, what’d I miss? text formatting set to none, and has been since the creation of the field, and I hit the checkbox anyway to do it recursively anyway. Allow all HTML is on. Type is textarea….. I made sure I typed it in as < > ;p
Just can’t t hink of which thing I’m missing. I left the plugin off the comment page to see why it wasn’t executing. But you can see in the first link in my previous message that it clearly isn’t.
For someone with over 5000 posts, I should know the answer to this. But I shall embarass myself since I can’t think at 6am. 😉
Actually, I take that back. I didn’t have to swap out the < - just in the example code I needed to.