All posts ordered by popularity
WordPress Disable Self Pings
Depending on your WordPress configuration, plugins, and so forth, your site may be suffering from “self-pings”. Self-pings are pingbacks from your own domain, which are not necessary and look kind of silly displayed alongside other, actual pingbacks. If your site is haunted by self-pings, here is a quick code snippet to stop them.
Disable WordPress Automatic Updates
In case you haven’t noticed, WordPress auto-updates its core files by default. Neat but not always desired. Here is how to disable auto-updates with a few lines of code.
WordPress Change Excerpt Length
This code snippet is SO easy.. check it out if you want to change the default number of words included by default in WordPress excerpts.
Free Up Server Disk Space
Recently I spent some time clearing up more free space on my server. Here are some notes on things to check when doing so.
PHP Error Log Tricks
Super useful trick for customizing error logs when working with PHP.
Truncate Database Table
Quick SQL code snippet that enables you to truncate any MySQL database table.
Dealing with translation spam
How I respond to “translation spam”, which happens when greasy organizations ask permission to translate your script, extension, plugin, etc.
Remove Linked Image Borders in IE
Internet Explorer has a nasty habit of displaying honking blue borders on linked images. This post shows a quick way to disable them using a slice of jQuery.
Over 300 SQL Code Snippets for WordPress
I’m excited to launch my latest book, Wizard’s SQL Recipes for WordPress. Years in the making, Wizard’s SQL Recipes brings together over 300 recipes for managing and optimizing the WordPress database. If you’re a WordPress administrator or developer who wants to level up their database skills, this book’s for you. Check out the PDF Demo […]
WordPress Display Plugin “View Details” Screen
Everyone is familiar with the WordPress Plugins screen. Where you can view all installed/active plugins, etc. On that screen, there is a link next to each plugin that says “View Details”. When you click it, a popup dialog overlays the page content. Inside of that dialog is a tabbed interface where you can learn about […]
Protect Against File Injection
Here is a nice copy/paste .htaccess snippet to help block file-injection attacks. It can be added as-is to your .htaccess file to help protect against file injection and other types of malicious activity. This code is a not a replacement for proper data sanitization, but it does help to add another layer of security to […]
Batch Rename Files on Mac
This is especially useful for those bulk photography missions, where you’ve got folders of hundreds of generic useless file names that were created by a camera or mobile device. This quick tutorial explains how to easily batch rename all the files contained in any folder. All that is required is Mac’s built-in Finder app.