Several people have asked me to release the theme for this site so that others can use it. This sounded perfectly reasonable at first, but then I started taking a look through my code and realized that it is a mess. It was built a little at a time over the last nine months, adding on little gadgets and details as they came to mind without any thought for the long-term effects on the site itself.
As a coder, I should really, really, know better than this by now. But sometimes you just want to spend your time doing something, not making a tool for doing something.
When I write code for a living I’m always thinking about how I can re-use or extend it later. Barring that, I at least try to make it neat so I can make sense of it if I come back to make changes at some later point. I didn’t do any of that, and now the site has become a “code contraption”. It works, but you can’t change one thing without breaking three others. It’s sloppy and hard to read (the underlying code, not the site itslef) and now I’m getting nuts. Even when the hood is closed and I’m not reading the code, as I look at the site I know the bad code is there… hiding beneath the surface like so much duct tape, holding everything precariously together.
For example: Lots of stuff is hard coded. Even the title at the top. So, if you were to take this theme and put it on your site, the title at the top would be Twenty-Sided, no matter what you really named the site. The dice rollers are built into the theme, when they should be a plug-in. There are old, unused functions laying around, mixed in with in-use functions. No code comments. I edited the site in the wordpress admin interface and not in a proper editing program, which means the indenting is hosed.
So now I’m re-creating the theme from scratch. It’s far from done yet, but now that I’m doing it I’m curious what the strong points are. What is it about the theme for this site that works well? What would you change? What gets on your nerves?
I should add that I don’t plan to change the look of this site. My goal is to clean it up and maybe make minor adjustments based on feedback, but visually it isn’t going to change much.
Why The Christmas Shopping Season is Worse Every Year
Everyone hates Black Friday sales. Even retailers! So why does it exist?
Ludonarrative Dissonance
What is this silly word, why did some people get so irritated by it, and why did it fall out of use?
Silver Sable Sucks
This version of Silver Sable is poorly designed, horribly written, and placed in the game for all the wrong reasons.
Secret of Good Secrets
Sometimes in-game secrets are fun and sometimes they're lame. Here's why.
Project Button Masher
I teach myself music composition by imitating the style of various videogame soundtracks. How did it turn out? Listen for yourself.
By and large, it’s a clean looking site, and that’s one of the things that appeals to me. I like the proportions of the main and narrow columns, and that it covers most of my screen. (I recently made some changes to mine to widen it, but I’m still not entirely happy.) I don’t plan to adopt yours, because the graphical elements and style are too different, but there are aspects I would like to see; particularly how you change the pictures and quotes at random.
I agree with Ubi- the crispness of your site is what impresses me- that’s something that’s hard to find in the WP theme collections out there.
What kind (if any) plugins do you use, Shamus?
What kind (if any) plugins do you use, Shamus?
Sadly, most of the cool stuff (dice, random image, random quote) is built into the theme. One of my current goals is to yank all of these little gadgets out of my theme and put them into plugins.
Aside from my spam filter, I’m using two plugins I made myself. One is a very simple stats plugin that tells you how many posts per day over the last week / month /all time, and it also tells how many comments per post over the last week / month /all time.
The other plugin is the lexicon thing I mentioned before.