Using timestamps to reduce WordPress comment spam

In this post, I’ll explain how to reduce the amount of comment spam your WordPress blog receives by using an unobtrusive ‘handshake’ between the two files necessary for a valid comment submission to take place. I’ve written a few different articles on reducing comment spam by means of a challenge response test that the visitor [...]

A collection of PHP code snippets

This is a collection of php code snippets that seem to come in handy rather often. They are assembled here more for my own organization than anything else.

Defeating WordPress comment spam

Comment spam comes from humans who are paid to post it and robots/scripts that do it automatically. The majority of spam comes from the bots. There’s very little one can do to defend against a determined human being, but bots tend to behave predictably, and that allows us to develop countermeasures. From my observations, it [...]

Fixing warnings in the WordPress Sociable plugin

This plugin is once again actively supported. Please download the latest version from http://wordpress.org/extend/plugins/sociable/. I’ve fixed some errors that I was experiencing with version 2.0 (dated 2007-02-02) of the Sociable WordPress plugin by Peter Harkins. Specifically, when running WordPress 2.2+, I would get the following warnings when saving changes: Warning: implode() [function.implode]: Bad arguments. in [...]

Defeating contact form spam by hiding the webmail script

My clients and I have been receiving increasing amounts of spam sent through our own contact forms. Not being a spammer myself, I’m left to speculate on how one sends spam through a webmail form, but I’ve come up with two ways of preventing it from happening. Both of these methods involve editing the contact [...]

A plugin for adding the post date to wp_get_archives

The WordPress function wp_get_archives(‘type=postbypost’) displays a lovely list of posts, but won’t show the date of each post. This plugin adds each post’s date to those ‘postbypost’ lists, like so: Recently 07.30Ardamis.com’s Google Page Speed score is 93/100 07.21Ardamis.com is HTML5 07.17How to send the correct headers to leverage browser caching 07.14I want this Microsoft [...]

Halo 3 Service Record WordPress Plugin

This plugin allows you to add information from your Halo 3 Service Record to your WordPress blog.

Xbox 360 Gamercard WordPress Plugin

A WordPress plugin that will display a customizable XHTML and CSS Xbox 360 gamer card.

Showing a WordPress post’s ‘last modified’ date

I’ll occasionally return to a post and revise it for improved methodology, test results or whatever. But the ‘posted on’ date always remains the same, even after the post has been updated. I feel that displaying only the ‘posted on’ date could be somewhat confusing, particularly when I state that I’ve updated the post in [...]

A WordPress Plugin for Title Case Capitalization

A WordPress plugin for changing the post title to use title case or headline capitalization. This is not just ucwords or CSS capitalize.