Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from Nov 28, 2012
Merged

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

merged 2 commits into from Nov 28, 2012

Conversation

kovshenin
Copy link
Contributor

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 added a commit that referenced this pull request Nov 28, 2012
* Introduces a filter for wp_title instead of hard-coding things in header.php
* Renames inc/tweaks.php to inc/extras.php
* Includes inc/extras.php by default in functions.php

See #12, #13, #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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants