Awesome new book from Joseph Casabona on building WordPress themes from the ground up. Learn how to convert HTML to WordPress themes, set up custom post types, create theme options, and much more. Includes PSD/HTML files, full Director theme, and alternate book formats (.mobi & .epub). Learn more and get your copy »

Limit WordPress Post Navigation to Same Author and Category

Posted on: May 28, 2012 by David Powell

Update (2012/05/30): There is now a plugin for limiting post-navigation to the same author and category. The method in the article remains for informational purposes only.

In this DigWP post, guest author David Powell explains how to limit WordPress’ default post-navigation to include posts only from the same author and category as the currently viewed post. This method is effective, but involves making modifications to core WordPress files, something you should only do as a last resort, and if you know what you are doing. If you’re comfortable with that, read on to learn how it’s done..

Keep Reading

Thumb for Limit WordPress Post Navigation to Same Author and Category

Complete List of Default WordPress Files

Posted on: May 3, 2012 by Jeff Starr

When cleaning up hacked sites and testing .htaccess tricks, it’s nice to have a list of WordPress directory and file names for checking patterns and finding strings directly via Search/Find. Especially when working remotely, having a complete list of WordPress files available online can help expedite the attack-recovery process.

Keep Reading

Thumb for Complete List of Default WordPress Files

Poll: www. or no www.?

Posted on: May 2, 2012 by Jeff Starr

This one’s self-explanatory, but a lot has changed so I thought I’d poll one up to see what people think. It seems there are a lot more sites these days without the www. in their canonical URLs, but a lot of big sites continue to include the “www” subdomain (think Google home page). Which one is best? Let’s find out..

Keep Reading

Thumb for Poll: www. or no www.?

Attach Unattached Media Files

Posted on: May 1, 2012 by Jeff Starr

Attaching any unattached media files that you may have floating around is a good way to keep things organized and running smooth. Normally, when you’re working on a post in the Edit Post screen, you click the Upload/Insert button and use the nifty drag-n-drop media uploader to get ‘er done. When you upload your media files in this manner, WordPress “knows” that you want to attach the file to that particular post. Super straightforward sure, but there are situations where WordPress doesn’t know which post to use. In this DigWP post, we walk through the process of finding unattached media files and attaching them to their respective posts.

Keep Reading

Thumb for Attach Unattached Media Files

Measuring Latency with Apache Bench

Posted on: April 16, 2012 by Austin Gunter

One of the important factors in the speed of your site is the distance between your servers and the browser visiting your site. The time it takes the information to travel from the server to the browser is called latency. Latency increases with distance, so no matter how fast your servers may be, high latency can make your site load slowly for visitors who are geographically removed from your servers.

Keep Reading

Thumb for Measuring Latency with Apache Bench

Don’t fork your theme, flex it with “is_plugin_active” conditional

Posted on: April 4, 2012 by Peter Shackelford

Donkey Work

Donkey work is really the last thing I want to be doing. Piddly tasks that could have been avoided with a little thought and perspective. Below I explain how I worked my way away from becoming a donkey with a dozen child themes to manage and maintain, with just a little knowledge of a native wordpress function.

Keep Reading

Thumb for Don’t fork your theme, flex it with “is_plugin_active” conditional

Getting Comment Info from the WordPress Database

Posted on: March 15, 2012 by Jeff Starr

An easy way for visitors to enter their emails is by commenting on a post. We did this recently for people to sign up for a notification email. Instead of using a plugin or custom function for a one-time email list, we just went with WordPress core functionality and used post comments for people to sign up. Then the trick then is retrieving the comment information from the database for the specific sign-up post.

We did this recently to collect commentators’ email addresses, but could have easily extracted other comment info as well — comment author, comment date, comment url, and basically anything in the wp_comments table, shown here:

Keep Reading

Thumb for Getting Comment Info from the WordPress Database

v3.3 Printed Books are Here!

Posted on: March 14, 2012 by Jeff Starr

Good news! The new version-3.3 printed books are now available. The new books are better than ever, updated for WordPress 3.3 with new content, refreshed graphics, and new features galore. Each book is printed in full-color, with new extra-thick covers and slick spiral binding for laying it flat while reading. These features make the print edition feel really solid and durable, like you know you’re reading a well-crafted, quality book. Here’s a recent photo showing how the chapters are color-coded and easy to recognize:

Keep Reading

Thumb for v3.3 Printed Books are Here!

Congrats to Shawn Grimes for winning a brand-spanking-new print edition of Digging into WordPress v3.3 — Cheers!

Digging into WordPress v3.3 Update

Posted on: February 1, 2012 by Jeff Starr

New version of Digging into WordPress now available! The DiW v3.3 update covers WordPress 3.3 & 3.2, with fresh new sections and updated content throughout the book. Similar to the latest versions of WordPress, DiW 3.3 refreshes the look and feel of the book, with updated graphics and screenshots, streamlined content, and new bonus versions of the PDF. As the 9th Edition of the book, Digging into WordPress 3.3 is more fluid, focused and current than ever. This is a free update to everyone who owns either version of the book.

Keep Reading

Thumb for Digging into WordPress v3.3 Update

Notification List for v3.3 Printed Books

Posted on: February 1, 2012 by Jeff Starr

Digging into WordPress v3.3 is now available, and more printed books are on the way. It can take some time for the books to be printed and delivered, so we’re setting up a notification list for people who want to know when the new books are back in stock.

Keep Reading

Thumb for Notification List for v3.3 Printed Books