Monthly archives: September 2010
DiW v3.0 Printed Books!
We’re now accepting orders for printed copies of Digging Into WordPress version 3.0. The books currently are finishing up at the printers, and should be ready to ship within the next week or so. From what we’ve seen so far, the finished books are looking incredible. To give you a taste, here are a few shots of the newly printed books featuring the new dark/black cover and black coil binding:
WordPress Snippets
New WordPress-only snippets repository. Nice clean design, good functionality, quality content (like this gem). This one should be a winner.
Speed Up Your Blogging with WordPress Shortcodes
Shortcodes are WordPress’ way of creating shortcuts for code snippets, strings of text, or anything else that you need to display on your site. So this means that you can save time by replacing your most commonly typed words and phrases with WordPress shortcodes. For example, if you are frequently typing your blog’s URL, you could place the following code your theme’s functions.php
:
Custom Tweet Button for WordPress
Nicolas Gallagher:
How to create a custom Tweet Button for WordPress using the bit.ly and Twitter APIs. The HTML and CSS is completely customisable and there is no need for JavaScript. PHP is used to automatically shorten and cache the URL of a post, fetch and cache the number of retweets, and populate the query string parameters in the link to Twitter.
WordPress 3 Template Hierarchy
This chart is one entire page in our book, but I thought it would be good to focus on specifically. Template hierarchy has gotten a bit more advanced since the last time we covered it.
The idea is that WordPress will look for files in a theme to use to render the current page in a specific order. For example, let say you have a page for showing posts from a certain category like this. On this site, all our category pages are currently the same and use “archive.php” template. This file is pretty far down the hierarchy, and is shared with other types of views, for example, tag and category pages.
WordPress Security Keys
In our recent post on pimping the wp-config.php file, we explain that using strong Security Keys is an important part of securing your WordPress installation. In this post, we want to zoom-in on Security Keys and look at what they are, how they work, and how to use them to greatly improve the security of your site.
URL Sentences in WordPress
WPCandy is back under Ryan Imel and it’s been loaded with good stuff lately, including this great run-through of how to use Chris Shiflett’s URL sentences idea in WordPress.
digwp.com/thinks/this-is-a-cool-idea
404 Link Removed
Version 3.0 Launch!
It’s here! Digging Into WordPress Version 3.0 is here and it’s packed with lots of awesome WordPress goodness, including an entire new chapter on WordPress 3, plus lots of updated core content, and a super-sleek new cover that I think is a huge improvement. You’ve got to check out the book’s sweet dark/black cover, expertly crafted by Chris: