WPMU fast backend switch
WordPress 3.0 network lighttpd rewrite rules
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
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…)