WordPress 3.0 network lighttpd rewrite rules

I recently installed my first WordPress network on lighttpd and was looking for rewrite rules. This post is correct except for the rewrite rule for files. I supposed it’s a change that was introduced in 3.0, or maybe earlier. Anyway, here are updated rewrite rules: (more…)

Nesting WordPress loops

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: (more…)

Visitor Movies for WordPress

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 that there was apparently no free alternative to websites like clixpy, clicktale and similar services. (more…)

Convert WordPress pages to posts

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: (more…)

Get WordPress comments outside of WordPress

Sometimes you want to access WordPress content outside of WordPress. There are various pages that explain how to this and it’s really easy to do as well. What I tried to do was a little different though, I wanted to print comments outside of WordPress.

To my surprise wp_list_comments() didn’t output anything inside my custom loop. It turned out that $wp_query->comments was NULL, which I think is rather odd. I would have expected it to be defined like in a normal loop inside WordPress. However, the fix is trivial:
(more…)

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 interesting for the visitors. See the comment form at the bottom for an example.
(more…)