DiggingIntoWordPress

by Chris Coyier & Jeff Starr

New Book Winner!

Congratulations to Kristin Currier for winning a free printed copy of Digging into WordPress. The giveaway question this time was what’s the most interesting thing you’ve done with WordPress? Kristin replies:

I haven’t done a damned interesting thing
with WordPress at all.

So honest! You can read about what other interesting and unusual things people are (and aren’t) doing with WordPress in the comments of the announcement/giveaway post. Again, congrats to Kristin for winning – your new book is on the way! :)

New Printed Books are Here!

Posted by on

We’ve got a fresh batch of Digging into WordPress 3.1 now available in printed format. 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.

Quick News and Links

Just a few news items and resources worth sharing:

Create Your Own Functionality Plugin

You have two choices when adding custom functionality to your WordPress site: your theme’s functions.php file, or a plugin. Ryan Imel reminds us that theme-specific functionality belongs in your functions.php file (like registering a sidebar) whereas site-specific functionality belongs in a plugin (like registering custom taxonomies), as well as teaches us how.

4 Ways to Loop with WordPress

Posted by on

At the heart of the WordPress theme template is the venerable WordPress loop. When you’re looking at your index.php file, for example, the loop is the part that typically begins with if(have_posts()) and contains all the tags and markup used to generate the page. The default loop works perfectly well for most single-loop themes, but for more advanced designs with stuff like multiple and custom loops, more looping power is needed. Fortunately, WordPress provides plenty of flexibility with four ways to loop:

Graphing Blog Comments Over Time

Posted by on

One of my other blocks, CSS-Tricks, has been around a number of years now. There are nearly 1,400 unique pages of content almost all of which have a comment thread. I had a feeling that in the last four years, despite fairly steady growth in traffic and subscribers, that the number of comments per post has dropped. But how to prove it? I don’t know of a way to easily see that data.

Admin Bar Tricks

Posted by on

According to our latest poll, so far the votes are pretty much split on whether people love, hate, or don’t care about WordPress’ new Admin Bar. Over time, it looks like “Hate it” has started to pull ahead, but it doesn’t matter because the Admin Bar is here to stay, regardless of opinion. Already there are many awesome ways to make it do virtually whatever you want. In this DigWP post, we round up a ton of tips, tricks, and plugins for ultimately mastering the WordPress Admin Bar.

Over 100 of the Best WordPress Blogs

Great to see DigWP.com included in this incredible list of the Best WordPress Blogs over at ThemeShock, where you can find awesome freebies, resources, tips & tricks. They’re also giving away a free retro/vintage WordPress theme that looks pretty interesting. Check it out!

15 Anti-Spam Plugins for WordPress

Posted by on

During the recent book update, we needed to make some room for the new WordPress-3.1 content. The book is already over 400 pages and growing. So we have to make some hard decisions about which content is useful but maybe not needed in the book. And, as useful as long lists of anti-spam plugins might be, moving them from the book to the blog seems like a good way to free up some room while keeping the information available. So without further ado, here is a quick list of 15 anti-spam plugins to help you run a more user-friendly, hassle-free comment system.

Pre-Orders for 3.1 Printed Books

Posted by on

Good news! Digging into WordPress version 3.1 is now at the printers, with a fresh batch of books expected within the next 4-5 weeks. The new 3.1 books should be available for purchase in May, and we’ve opened up pre-orders for those wanting to use the PDF and other goodies while waiting for the printed version. Visit our book page for more information and to secure your copy of Digging into WordPress 3.1.

Code is poetry