Smart Archives Reloaded: Version 2.0

You can select exactly which posts you want to display. The smart_archives() template tag now takes a second parameter, which accepts most of the arguments that query_posts() accepts.

Here is the “laziest” way to use it:

<?php smart_archives(”, $GLOBALS[’query_string’]); ?>

Read full post...

Auto-shrink YouTube Videos

One of the things I hate about flash-based players is that you can’t control them properly through CSS. For example, if you write this CSS code: object {width: 100%; height: auto} … the videos won’t scale properly (the height will stay fixed). So I came up with this little jQuery script that makes a video [...]

Read full post...

WP-PageNavi: Version 2.70

In order to run version 2.70 or newer, your host needs to be running PHP5. If you get a fatal error on activation, ask your hosting provider to upgrade your account from PHP4 (which is old, slow and a security risk).

Read full post...

Query Multiple Taxonomies: Version 1.1

This version finally brings something you can sink your teeth into, so to speak. I’m talking about the new taxonomy drill-down widget:

As you might notice from the screenshot, it works with hierarchical taxonomies too and lets you do queries like this:

?ingredients=flour+sugar&flavour=sweet

Read full post...

GSoC Proposal: Enhanced Admin Pages

I’m planning on applying as a GSoC 2010 volunteer for WordPress. This is a working draft of my proposal.

One of the key features missing from the list-type administration screens is the ability to view items sorted by a certain column. For example, on the posts screen, you should be able to view posts sorted by comment count etc.

Read full post...