Blog

Better Recent Posts Widget

2010-10-17

The built-in recent posts widget in WordPress isn't too bad, but it doesn't support custom post types. That's why I wrote this new widget. You can choose any custom post types you want. This way you can always get a list of recent updates on your blog. The widget ignores … more

WordPress Pastebin

2010-10-16

This plugin is for you if you like sharing your code. Turn your blog into a pastebin and keep your own code on your own site. You can tag your pastes like you tag your normal posts, and visitors can leave comments if you allow it. I wrote this because … more

This makes it possible to have the taxonomy below some post type slug, e.g. the post type is at /cars/ and taxonomies are at /cars/manufacturer/, /cars/year-of-construction/ etc. You want to register the taxonomy with the same $slug. more

Run the filter whenever you want your post type in the main loop. Add ishome(), iscategory() etc. Example is for the post type 'paste'. more

There's obviously a little context missing for this paste, but the basic idea should be clear ;-) more

With this you can upload images through your plugin/theme. They are saved as attachments. Please add nonce fields for security reasons. more

Better Lorem Ipsum Generator for WordPress

2010-10-08

When you create WordPress plugins and themes it is often a good thing to test them on blogs with much data. Since 3.0 I use custom post types and custom taxonomies a lot and couldn't find a plugin that autogenerates them. Hence I wrote a new plugin. Features: Automatically create … more

With this snippet you can log in a WordPress user automatically. more

fuse: bad mount point - Transport endpoint is not connected

2010-10-04

I mount various directories over ssh for convenience. Occasionally the connection gets interrupted and this leads to errors like: fuse: bad mount point /mnt/foo: Transport endpoint is not connected It took me a little time to find out how to fix this problem: kill the sshfs process(es) umount -l /mnt/foo … more

See my previous paste for the whole class (minus this) http://kuttler.eu/code/wordpress-plugintheme-options-page/ more

DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confusedMoneyHackerUpset confusedX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerNginxSilenceTorWorldInternet securityFont