Remove wp_title, add title-tag theme support
This commit is contained in:
@@ -6,17 +6,3 @@ function roots_excerpt_more() {
|
||||
return ' … <a href="' . get_permalink() . '">' . __('Continued', 'roots') . '</a>';
|
||||
}
|
||||
add_filter('excerpt_more', 'roots_excerpt_more');
|
||||
|
||||
/**
|
||||
* Manage output of wp_title()
|
||||
*/
|
||||
function roots_wp_title($title) {
|
||||
if (is_feed()) {
|
||||
return $title;
|
||||
}
|
||||
|
||||
$title .= get_bloginfo('name');
|
||||
|
||||
return $title;
|
||||
}
|
||||
add_filter('wp_title', 'roots_wp_title', 10);
|
||||
|
||||
Reference in New Issue
Block a user