Archive for posts tagged ‘php’

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.

Read more...

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 [...]

Read more...

Defeating contact form spam by hiding the webmail script

How to defeat contact form spam bots through the use of a challenge-response system.

Read more...

A plugin for adding the post date to wp_get_archives

A plugin replacement for wp_get_archives that displays each post’s date.

Read more...

Halo 3 Service Record WordPress Plugin

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

Read more...

Apricot – A Minimalist WordPress Theme

Apricot is a text-centric, minimalist WordPress theme built on a Kubrick foundation. It does SEO right, straight out of the box.

Read more...

WordPress comments feed in Google’s Supplemental Index

I was tired of seeing the majority of my posts’ comments feeds show up in Google’s Supplemental Index, so I changed all the individual posts’ comments RSS links to rel=”nofollow”. This should at least cause Googlebot to stop passing PageRank through those links, but what I really want is for Googlebot to stop spidering the [...]

Read more...

Showing a WordPress post’s ‘last modified’ date

Add a timestamp showing when a WordPress post was last edited.

Read more...

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.

Read more...

External Files Causing a WordPress 404 Error?

How to resolve an issue with pages external to WordPress being sent with a 404 status.

Read more...