Thematic5/Thematic5 — pull request #33 by middlesister (2012-05-08 10:32:41+00:00)
Title: Create the doctitle through filtering wp_title instead of hard coding it

I added the wp_title filter to the end of `thematic5_doctitle()` but this is really just a beginning.

Ideally, we should have a simple call to `wp_title()` in `

`, and move the logic of creating the doctitle to a function hooked to the wp_title filter. Maybe also do nothing if `thematic_seo()`returns true.

The doctitle is an important part of SEO and not using the wp_title filter makes it hard (impossible actually) for SEO plugins to manipulate the titles. The way it is now, anything outside the covered conditionals - like a CTP archive, or taxonomy archive - will get the full site description as doctitle. Hardly useful in google searches.

See what [Yoast has to say](http://yoast.com/wordpress-themes-page-title/) about title tags.