Displaying Random Post

Tutorials

Back in April I showed you how to add a custom loop to your sidebar for displaying the latest posts from a given category using the query_posts function. (see Custom Loop in Sidebar) Here's a little variation that will display a random post on a page using that very same query_posts function. Why do this? It's a great ... Read More »

post

Mass Delete Spam Comments in Moderation

Tutorials

A question that pops up from time to time in the forums is how do I mass delete spam comments? A particular user had neglected his blog for a few months only to return and find thousands of spam comments awaiting moderation. Of course deleting this stuff through the WordPress interface could take hours or even days if ... Read More »

post

How To Disable Post Revisions

Tutorials

One of the new features introduced in WordPress 2.6 was a handy little tool called post revisions. In a nutshell this allows you save and track any changes made to a post or page ala Wiki and quickly revert to an earlier version. But what if you are your blog's only author? What if you simply don't want this ... Read More »

post