Popular Posts
All posts ordered by popularity
WordPress Prefix Post Titles
A reader recently asked how they can prepend the post date to the post title. Here is a quick and easy way to do it by filtering WordPress’ the_title hook.
Find duplicate email addresses in WordPress
This tutorial explains how to find duplicate email addresses in your WordPress database. That way you can delete or modify as needed.
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
Secure .svn directories
On most servers, the hidden .svn directories that are used for subversion are hidden and protected by default. If you’re paranoid or unsure of whether or not the svn files are protected automatically, you can use a slice of .htaccess to block all public access.
Display local time with JavaScript
Another oldie but goodie, here is a chunk of JavaScript code that will display local time in a variety of formats.
WordPress use post modified time for better SEO
Quick collection of code snippets to help customize post dates to reflect most-recent-update information. I use this technique here at WP-Mix, DigWP, and elsewhere. Using the most recent date as the post date can boost the SEO value of your site.
Protect the WordPress Admin
A secure way to protect your site’s admin area is to lock it down with .htaccess.
Escape input with WordPress
WordPress makes it easy to escape untrusted input to prevent SQL-injection, XSS (cross-site scripting), and other nefarious bits of text. Here is a quick rundown of WordPress’ built-in escape functions.
New WordPress plugin: Banhammer!
Quick post to announce my latest WordPress security plugins, Banhammer (free version) and Banhammer Pro. These plugins give you full control over site access, enabling you to warn or ban any user or bot with a click. So you can monitor traffic via slick Ajax UI, and drop the Banhammer on any suspicious or threatening […]
Center div
Round-up of some common ways to center divs with CSS: horizontal center, vertical center, and both horizontal and vertical center. Nine techniques!
Fix Chrome Border Radius
I’ve posted before about fixing weird default browser styles. It happens all too often. Well-intentioned browser developers taking liberties on the page with things like CSS styles. This post shares a quick code snippet that fixes the Chrome browser’s new “rounded corners” style that now is applied to form elements like buttons and inputs.
WordPress widget_init not working
Working on USP Pro, I noticed that the included Form Widget stopped working. It didn’t display at all, like it wasn’t even registering with WordPress. After some investigating, I discovered that changes in the WordPress core required an update to the widget code. This article explains the process of troubleshooting and the working solution.