Blog

Nesting WordPress loops

2010-05-30

Sometimes it's useful to put a WordPress loop inside another loop. To do this you'll have to create a new WP_Query object, as in this example: <?php $my_query = new WP_Query( "cat=3" ); if ( $my_query->have_posts() ) { while ( $my_query->have_posts() ) { $my_query->the_post(); the_content(); } } $GLOBALS['post'] = $GLOBALS['wp_query']->post; … more

Visitor Movies for WordPress

2010-05-21

Did you ever want to know what exactly your visitors are doing on your site? Watch them! A client of mine wanted a plugin to log what users type into forms. I kind of didn't see the point at first. But a few days later I was a little annoyed … more

Convert WordPress pages to posts

2010-05-20

I like WordPress, but I don't like the WordPress page system at all. That's why I recently converted all my plugin pages to posts. My main reasons for doing so were: Pages can't be tagged Pages don't have categories Pages and posts don't mix too well in custom loops Pages … more

Get WordPress comments outside of WordPress

2010-04-14

Update: Apparently this code is also necessary when you want to list the comments on the blog page, and probably on archive pages as well. There could be a better solution, if you really care check out the P2 theme (and leave a comment). Sometimes you want to access WordPress … more

Custom Avatars For Comments

2010-03-31

Custom Avatars For Comments This plugin was initially written for a client and he agreed to open-source it. Thanks, John! Your visitors will be able to choose from the avatars you upload to your website for each and every comment they make. This can make leaving a comment on your blog more fun and … more

My plugins featured in Web Designer Magazine

2010-01-03

Web Designer Magazine In issue 164 of Web Designer Magazine by Imagine publishing there is a feature article on WordPress plug-ins: Electrify Your Blog: The Top 20 WordPress Plug-ins for the Next-gen Blogger. I'm very happy to see that they listed two of my plugins in it. The first plugin mentioned is my … more

Using git for WordPress development

2009-11-07

git is a powerful revision control system. It is a distributed system. This means that you can commit, create branches or tags on your local hard drive without any network connection. Read more about git on the project's website, there's also great documentation there. If you write WordPress plugins and … more

Shortcodes, include CSS and JS only on the correct blog pages

2009-10-21

Not too long ago I wanted to add a new plugin to my blog. During various tests I noticed something quite shocking: at least one of the plugins insisted on loading it's CSS and jquery on every page of my blog. A little more testing showed me that many plugins … more

Delete pending WordPress comments

2009-10-11

With this plugin you can easily delete all pending WordPress comments. It's quite useful if you're the victim of a spammer attack. Delete pending comments Downloads at WordPress.org. more

Zero Conf Mail

2009-10-11

It took me quite some time to check a few existing contact forms and I didn' t like any of them. No, I don't want you to load jquery on every page of my blog. I want it localized, pretty please. Oh, and I want this JavaScript onfocus/onblur effect I … more

DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo