via @pat_ramsey. A handy tool to 'display all hook names right in your theme view in the browser.'
WordPress
Make WordPress Scale, on a Budget
WordPress Snippets
A collection of WordPress snippets to make developers' lives just a bit easier. I'm not found of the current UI as it's not easy to skim, but the filter capability helps and I'm sure the site will improve as it grows.
How to Unlock the Secret “All Settings” Menu in the WordPress Dashboard – WordPress, Multisite and BuddyPress plugins, themes, news and help
A quick addition to your functions.php will provide quick access to an 'alphabetized list of everything in the wp_options table' within the WordPress dashboard.
Handy, very handy.
The Guardian Releases a Newsfeed Plugin
The Guardian just released a news feed plugin for WordPress as a part of its Open Platform initiative, making it easy for anyone to post Guardian stories to their WordPress-powered site in full, images and all. They’re working on other platforms as well.
Oh, and did I mention ads? Because they’re including ads and performance tracking in the stories too.
This is smart on so many levels – when so many other publishers are trying to lock everything down, the Guardian sees the future and is going to make money from it.
If you aren’t familiar with The Guardian’s efforts on the Web, you should be. They have an absolutely amazing team of developers building out their platform, which includes a content API, politics API and curated data sets.
As they put it “Our vision is to weave the Guardian into the fabric of the Internet, to become ‘of’ the web rather than ‘on’ the web.”
Change the Thesis Doctype and Add Meta Tags
I love using Thesis because it lets me focus on content, while providing all of the design and development hooks I need to tweak the theme as I see fit. I’ve dug in a good bit, and while I’m far from an expert, I’m confident that anything and everything I want to do is available to me.
One thing I discovered early is that the default doctype is XHTML Strict, which is great in many respects, but can add some complexity given enough design changes and external data sources.
In 1.6 I was able to add some custom code to change the doctype to XHTML Transitional, simplifying some issues I was having with IE 8. Those same reasons necessitated that I include a new meta tag as well. Thesis 1.7 changed the implementation methods, so I’m documenting the new, right way to modify the doctype and add items to the page head in the hope that others might find it useful.
Credit: I learned about of this from girlie, who was kind enough to point me in the right direction on the Thesis forums.
Modify the Thesis Doctype
Simply add this to custom_functions.php in your Thesis directory:
/* !Custom Doctype */
function custom_doctype() {
return '< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
}
add_filter('thesis_doctype','custom_doctype');
Adding Meta Tags or Conditional Comments
This hadn’t occurred to me as I’m used to placing these directly in the code, but once girlie pointed me in the right direction I found it is a simpler solution.
- Go to the WordPress Dashboard
- Click Thesis in the sidebar – this should open the Site Options page. If it doesn’t, click the Site Options link
- Click the plus icon for the Additional Scripts box under Document Head
- Paste your tags, conditional comments and or anything else you’d like included in the
<head>
- Click the save button and verify that it worked on your site
Thinking About Thesis?
If you’re thinking about purchasing Thesis, and I highly recommend you do, I’d appreciate it if you follow this link when you want to learn more or are ready to buy the theme.