Category Archives: Codecraft

More than a mere WordPress plugin — Automatic Timezone

Otto has released his Automatic Timezone Plugin as part of the current WordPress plugin competition. In addition to being a handy plugin, it comes with a significant bonus for plugin authors. In addition to its basic function, the code is designed to serve as a tutorial of sorts, showing authors how to use some very [...]

New WordPress Plugin: Log Deprecated Calls

New plugin for Y’all. This one is of particular interest to plugin authors and theme designers (and… nobody else). Activate it, and any time WordPress calls a function or file that has been deprecated, a message will be sent to your PHP log file that identifies exactly where the call came from and what to [...]

Use Classes in your WordPress plugins to increase code portability and reduce name conflicts

One of the most powerful features of WordPress is the huge community of developers making plugins that extend the software far beyond what the core application provides. It also allows people to add just what they want to use, rather than having a single bloated homogeneous download. There are drawbacks as well, of course. Any [...]

How to write a solid and stable WordPress plugin

Mark Jaquith has put up a nice article on “How to write a solid and stable WordPress plugin“. It’s more of a rough overview than a detail piece, but he promises more details down the line in separate articles. This is worth looking at if you write WP plugins, even if you’re pretty experienced — [...]

Consolidate Options with Arrays in your WordPress Plugins

If you’ve ever written a plugin for WordPress you’ve probably dealt with giving the end user options. Unless you’ve taken the low road and forced the user to directly edit the plugin file, “options” means a Settings screen in the WordPress admin, and most likely you are storing those options in the blog’s wp-options table. [...]

Organizing receipts

Wherein the author wrangles the Mac “web receipt” doodad to make it much more useful