filter titles
This commit is contained in:
@@ -12,9 +12,9 @@ function roots_title() {
|
||||
} elseif (is_archive()) {
|
||||
$term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
|
||||
if ($term) {
|
||||
echo $term->name;
|
||||
echo apply_filters('single_term_title', $term->name);
|
||||
} elseif (is_post_type_archive()) {
|
||||
echo get_queried_object()->labels->name;
|
||||
echo apply_filters('the_title', get_queried_object()->labels->name);
|
||||
} elseif (is_day()) {
|
||||
printf(__('Daily Archives: %s', 'roots'), get_the_date());
|
||||
} elseif (is_month()) {
|
||||
|
||||
Reference in New Issue
Block a user