All posts ordered by popularity
I enjoy writing about HTML pre tags. In this post, I share some basic CSS to help style your pre tags for both screen and print media.
CSS transitions can add a nice effect to links. Here are some quick example snippets for your copy/paste enjoyment.
Sick of teh spamz? Here’s an easy way to block a lot of automated spam from your contact form.
Quick tip to view all WP Post variables, which can be useful for development and debugging in WordPress.
Quick code snippet for detecting all versions of good ’ol IE (Internet Explorer).
While working on a recent book-sale script, I needed a way to test various request headers. This script is what I used to spoof just about everything except the IP address (which it seems is not possible to spoof via PHP/cURL).
This article explains the difference between WordPress’ home.php and front-page.php theme templates, as related to the display of your site’s front page. For best results, log in to the Admin Area of your WP installation and follow along with the text.
Here is a list of the most common file-types for Apache’s mod_expires, which is used for configuring expires headers for better cache control.
In this WP-Mix post, we’ll see how to send spammers on a virtual infinite loop chasing down randomly generated email addresses. It’s very satisfying.
WordPress 4.4 adds all sorts of new REST API functionality. Which is great if your site is using it. But if not, then you may want to remove all of the extra baggage that WordPress now adds to every page load. This tutorial explains how to disable it.