New book on WordPress Theme Development: WordPress Themes In Depth

Block Tough Proxies

If you want to block tough proxies like hidemyass.com, my previously posted .htaccess methods won’t work. Those methods will block quite a bit of proxy visits to your site, but won’t work on the stealthier proxies. Fortunately, we can use a bit of PHP to keep them out. Read more »

Ajax-Powered Error Logs for WordPress

Update: Check out the new and improved Ajax Error Logs for WordPress v2.0! In my previous post, I share my technique for Ajax-Powered Error Logs. That tutorial shows you how to set up dynamic error monitoring on any typical website, but the script requires some tweaking to get it working with WordPress. In this quick post, I explain how to set up Ajax Error Logs specifically for WordPress sites. Read more »

Screencast: WP101: Customize the Dashboard

In this WP101 screencast, we look at the Admin Dashboard, what it can do, and how to customize and clean it up. Customizing the WordPress Dashboard is a great way to help streamline your Admin experience and improve productivity. This video tutorial shows you how to be a Dashboard Ninja in around six minutes. Read more »

Screencast: WordPress 101: Log into Admin

In this WP101 screencast, we’re going to start with the basics and log in to the WordPress Admin. It’s exciting stuff to be sure, but there are many reasons why this kinda stuff makes a better screencast than a post. This video tutorial is about three minutes and shows how to login to the Admin with WordPress version 3.1.2. Several techniques are shown, with commentary kept to a minimum ;) Read more »

Screencast: WordPress 101: Welcome

Welcome to the first screencast in my WordPress 101 series. It’s simply called “Welcome” and is just a quick introduction to the series, why I’m doing it, about me, and so on. Note that there’s nothing happening on-screen in this screencast – just a simple welcome message ;) Read more »

Digging into WordPress 24-Hour Sale

Want to get Digging into WordPress for almost half off the regular price? AppSumo is running an exclusive 24-hour sale for the PDF version of DiW. Recently updated for WordPress 3.1, the book has never been better, providing the tips, tricks, and techniques you need to take WordPress to the next level. Head on over to AppSumo to take advantage of this incredible deal! Read more »

10 Characters for Your WordPress Blacklist

Quick WordPress tip for easily and quietly blocking a ton of comment spam. Akismet and other programs are good at catching most spam, but every now and then a bunch of weird, foreign-language spam will sneak past the filters and post live to your site. Here’s a good example of the kind of stuff that’s easy to block: Read more »

Digging into WordPress 3.1 Update

Digging into WordPress is now updated for WordPress 3.1. This is the book’s 8th major update, with new material for WordPress 3.1 and extensive revisions throughout. Without a doubt, Digging into WordPress is more focused and current than ever before. Read more »

Ajax RSS Feeds with More Sidebar

After implementing Chris Coyier’s More Sidebar technique here at Perishable Press, I needed a good source of “filler” content for the “more” blocks. After experimenting with multiple loops and template tags, the idea of sliding in RSS feeds seemed like a better solution. Replacing some empty space with great content is a win-win for everyone. For example, I display a few of my recent tweets in the sidebar to help fill a lil’ space. It’s a great way to share stuff, and it’s pretty easy to do. Read more »

Display Latest Tweet with Show/Hide Cookies

Update (2013/08/03): This simple technique no longer works thanks to the 2013 Twitter API, which makes it much more complicated to grab your latest tweet. For WordPress, check out the Latest Tweets Widget. My previous theme displays my latest tweet at the top of every page. It turned out to be an excellent technique for getting more followers – visitors see the tweet, click the link, and possibly follow me on Twitter. There is even a cookie-powered “Hide” link for uninterested visitors to hide the tweet for awhile. I received quite a few requests for a tutorial on the technique, […] Read more »

WordPress Plugin: User Submitted Posts

User Submitted Posts enables your visitors to submit posts and images from anywhere on your site via template tag or shortcode. User-submitted posts optionally include tags, categories, post titles, and more. You can set submitted posts as draft, publish immediately, or after some number of approved posts. Also enables users to upload multiple images when submitting a post. Everything super-easy to customize via Admin Settings page. Read more »

Better Robots.txt Rules for WordPress

Cleaning up my files during the recent redesign, I realized that several years had somehow passed since the last time I even looked at the site’s robots.txt file. I guess that’s a good thing, but with all of the changes to site structure and content, it was time again for a delightful romp through robots.txt. Read more »

Yoast WP SEO vs All in One SEO

Update (2013/08/26): This article was written in 2011 and both plugins have changed quite a bit. Yoast SEO pretty much covers the entire spectrum, while All in One SEO covers more than it has in the past. So either plugin could be great depending on your site’s specific SEO needs, but if you’re just looking for a solid way to implement the SEO basics, check out DigWP.com for a lightweight DIY Alternative to WordPress SEO Plugins. While setting things up here at the new site (new WP install), I’m trying to keep the custom functions and plugins down to a […] Read more »

Notes on Switching Servers

Switching servers & migrating sites can be a HUGE deal (or not), depending on things like: Number of sites to transfer Size and complexity of sites Who is hosting your sites Experience I recently did this, switching from a 3-year run at ASO to my new home at Media Temple. Total of 24 properties, with WordPress running on around 10 sites. Past experience with VPS servers really had me paranoid about running out of memory. A few years ago, Perishable Press alone gobbled up 256MB of RAM at WiredTree, so add another 23 sites on top of that and needless […] Read more »

Importing WordPress Users via CSV Files

I recently did some time in Microsoft Excel, preparing large CSV files for import into WordPress. Each of these CSV files contained data for 1000 WordPress users. Here is a screenshot showing the structure of the file: Conceptually, the idea is simple: import the data to create actual users for a WordPress-powered site. The trick is to clean the data as much as possible to ensure valid username and password information. Once the data is good, importing is easy using a plugin. Here is a step-by-step tutorial that combines WordPress and Excel techniques to register users en masse from a […] Read more »

Print Version of Digging into WordPress 3.0

Just a note to let everyone know about the new printed editions of Digging into WordPress 3.0. This is the latest version of DiW, featuring revamped core content, new graphics, popouts and asides, as well as a new chapter devoted entirely to WordPress 3.0. It’s certainly packed with WordPress goodness, with nearly 450 pages of practical, hands-on tips, tricks, and information. The PDF is awesome, but seeing it all printed up in full color on quality paper and heavy, glossy card-stock cover is enough to make you drool: Read more »

Latest Tweets New version of GA Google Analytics plugin supports Display Advertising, Link Attribution, Tracker Objects, and more: bit.ly/1ypT17a