DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Author: Jeff Starr

Easy Comment Management via SQL

Posted by on

Here are some sweet SQL code snippets for easy comment management. Sometimes it’s easier to modify comment status and delete unwanted comments on a sitewide basis. Using a program like phpMyAdmin makes it so easy to do stuff like remove spam, close/open comments on old posts, enable/disable pingbacks for specific time periods, and so on. Just remember to backup your database before running any queries.

WordPress Update: 3.0.1

Just a reminder that WordPress version 3.0.1 is available, so take a few moments and update your website. Staying current is one of the best ways to keep things running smooth, safe and secure. The new version addresses about 50 minor issues and helps to make WordPress 3.0 even better.

Amazingly, WordPress 3.0 was downloaded nearly 11 million times in 42 days. So HUGE congrats and thanks to the entire WordPress crew for an amazing piece of software.

Optimizing WordPress Permalinks

Posted by on

Configuring your WordPress permalinks is simple and only takes a second, but understanding what they are and how they work is key to setting up the best permalink structure possible. Your site’s permalinks are like the street address for your site’s web pages. They help both people and robots understand your site’s structure and navigate its contents. There is no “one magic permalink recipe to rule them all,” but keeping a few tips in mind makes it easy to optimize your WordPress permalinks. This DiW article shows you how..

Media Temple WordPress Hack

Posted by on

It looks like Media Temple WordPress installs have been hit with a WordPress Redirect Exploit (404 link removed 2013/10/11). We got hit here at DigWP.com, but have cleaned things up and are taking steps to prevent it from happening again. Here is what Media Temple knows so far:

WordPress Security Lockdown

Posted by on

This article is split into two parts for ez reference. First some information on the evil WordPress “Pharma Hack”, and then a recipe for protecting your site with a solid security lockdown. Choose your own adventure:

WPAlchemy MetaBox PHP Class

This looks awesome: “The WPAlchemy MetaBox PHP Class can be used to create WordPress meta boxes quickly. It will give you the flexibility you need as a developer, allowing you to quickly build custom meta boxes for your themes and plugins.”

4th of July Book Giveaway!

Posted by on

In celebration of the 4th of July and our one-year anniversary, we are giving away three copies of Digging into WordPress! To enter, just tell us what you would like to see in the upcoming version 3.0 of the book. We are working on the new version right now and will be updating the book with new information plus everything you need for WordPress 3.0. It’s gonna be awesome!

What? No Printed Copies?

Posted by on

What’s up with no more printed copies? We completely sold out of printed books a few weeks ago. We’re currently looking into print-on-demand solutions to make more of the printed copies available to those who want them. The problem is that the book is over 400 pages and full color. And POD is pretty much pay-per-use type of thing, so the book would be even more expensive to print than before. So again, we’re currently looking into solutions for this, and want to ask if anyone knows of a decent, reasonably priced POD service. “Reasonably priced” because quality is important.

Show Post Thumbnails in Feeds

Posted by on

One of the nice things about using WordPress’ new post-thumbnails feature is that they provide tons of flexibility in terms of where and how you display your post thumbnails. By design, post thumbnails are not included within post content, so they will not be displayed in your blog posts unless you call them specifically with the proper template tag:

WordPress Default CSS Styles

Posted by on

WordPress gives us full control over the presentation of our websites. We specify which classes and attributes to use in our template files, and then apply CSS using our theme’s custom stylesheet. Behind the scenes, WordPress generates its own classes and IDs, and applies them to specific HTML elements in theme files and database content. Having these default hooks available makes it super-easy to custom-style your theme’s blockquotes, post images, widget items, and much more.

Code is poetry