May 18
Holy hell do I hate the theme engine in WordPress. It’s touted as the best thing since sliced bread – but those touters are probably designers & not people who know how to code properly.
I should probably hold my tounge, as the problem I’m having is with my theme – but my theme shouldn’t be able to control which plugins work – I’m still blaming that on WordPress.
Below is some PHP code that is supposed to be displayed all nicely like – it is in the Default theme, but not in my custom theme. I’ll keep it in place so if I play around in the future, I’ll have something to check up on.
function GeshiTest($saywhat)
{
if(strlen($saywhat) == 0)
{
echo "This is crap";
}
else
{
echo $saywhat;
}
}
Dude, that sucks. I can see why you’re frustrated.