K2 Hooks

One of the major annoyances with theme upgrades is that all your precious changes will be lost, or you’ll have to diff and patch it from one version to another. That’s quite a lot of useless work.

The K2 theme I’m using as the base for this WordPress installation supports two cool features now:

  • You can include your own stylesheets without changing one line of code.
  • You can access various hooks to modify the way K2 works without changing one line of code.

Personally I think that’s totally awesome. But there are some points I’m still missing, though. For starters, the hooks are currently quite rudimentary, I can’t really control every element at this point. Second, I want to add options to the admin panel through my style’s functions.php — which I am unable to do atm (if I’m wrong on this point, please enlighten me :)).

Nevertheless, K2 is absolutely awesome. Ah, and in case you wonder… yes, the theme is getting a makeover. I’m migrating from the old, broken (too much playing ;)) Unsleepable 2 to a new something I’m currently building.

Published by

tsukasa

The fool's herald.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.