DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Create a Custom Database Error Page in WordPress

Posted by on

As a dynamic blogging system, WordPress consists of PHP files (the WP core) that interact with a MySQL database to generate the web pages for your website. When everything is working properly, this dynamic interaction keeps WordPress humming along like a champ, but when your database crashes, WordPress can’t operate and will deliver the following message to your visitors:

75+ WordPress Tutorials in One Post!

This post was so huge I actually had to edit and post it using phpMyAdmin directly to the database — WordPress apparently can’t handle ‘em that big! Seriously though, it’s a great post with over 75 awesome tips, tricks, and techniques for improving your WordPress site. Just some of the leftovers from the book that were too juicy to throw away ;)

Media Temple, WordPress, Mass Hacking

Posted by on

Update: Media Temple is saying (404 link removed 2013/10/11) that:

  • They aren’t 100% sure the cause, but yes, it is their fault.
  • About 10% of all (gs) users were affected.
  • It’s not WordPress specific, it’s PHP specific.
  • Definitely change your passwords, definitely don’t change it back to the original password.

Geeky bits in WordPress 2.9

Automatic rel="canonical" support, query for posts AND pages, post thumbnails, optimized database tables, and more!

Make an Infinite More-Posts Section

Posted by on

The goal here is to make a list of posts in the sidebar that show a number of recent posts. There will be a button you can click which will replaces those links to recent posts with older posts, AJAX style. You can keep clicking the button and keep getting older and older posts. On this site, we currently show 5 recent posts. So this little section shows the 5 posts after that, then clicking the button once will show 5 more older than that, and so on.

Major Upgrade for Ajax Edit Comments

One of the most powerful comment-editing solutions for WordPress just got a major upgrade. Ajax Edit Comments enables your visitors to “self-edit” their own comments, greatly improving the usability and “coolness” factor for your site. And with the latest upgrade, AEC gets even better, with a revamped popup box, easy “undo” options, comment-blacklist feature, new icon themes, increased security and tons more.

Find Typos? Other Mistakes?

Posted by on

Going the self publishing route with our book meant that we didn’t have a big fancy book editor going over our text. We of course strive to be the best writers we can be, but we are clearly better WordPress wranglers than we are wordsmiths. If you find any typos or any other kind of mistake in the book, you can submit them here in our new Errata section. We’ll be incorporating all fixes into subsequent releases of the book (which as book buyers, you get for free!). Much appreciated!

It’s Here!

Posted by on

Jeff and I launched this blog back in May of this year, after we decided we were going to self-publish the WordPress book we were working on. After weighing all the options, we decided going it on our own was best because we would have 100% control over everything. From the content of the book, to the layout and design, to the blog, sales site, everything. Today, it all comes together!

Code is poetry