Wednesday, October 15, 2008 |
||
At the intersection of Antitrust Exemption Way and Your Tax Dollars Not at Work Boulevard lies the finest baseball diamond in all the land.
Nestled along the Anacostia waterfront, the House that Bud Built has proven once and for all that while you can take baseball out of the Beltway, you can’t take the Beltway out of baseball.
Creates widgets from files whose names begin with widget- or widget_ in your theme folder. Based on Kaf Oseo’s My Widget.
So you’ve just completed your upgrade to WordPress 2.x. You’ve installed the latest and greatest versions of your favorite plugins. You’ve lovingly tweaked your favorite theme to within an inch of its life. All is well with the world.
Then along come WordPress Widgets.
WordPress-powered URLs ending in /search/foo (where “foo” is your search term) now work the same way as the old-school format of index.php?s=foo. They’re cleaner, more intuitive, and darned easier on the eyes.
The only problem? The search form included in most templates produces old-school URLs instead of the newer ones. Thankfully, there’s a simple, elegant workaround using the WordPress WP_Query class.