Use a filter for wp_title instead of hard-coding things in header.php #79

Merged
merged 2 commits into from Nov 28, 2012

Projects

None yet

2 participants

@kovshenin

Let's try this again... Instead of hard-coding things like blog name, description and page number in the header.php template, use a simple call to wp_title() and make the rest in tweaks.php using the wp_title filter. This allows others to easily override the tag without having to parse the output from buffer. SEO plugins will love this.

For previous discussions see #33

@obenland obenland merged commit ba4af12 into Automattic:master Nov 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment