Empty title tags for terms
-
In wp-meta-seo.php you have a function called wpmstitle.
It has such a block for taxonomy terms.
if (is_category() || is_tag() || is_tax()) { if (function_exists('get_term_meta')) { $meta_title = get_term_meta($term->term_id, 'wpms_category_metatitle', true); } else { $meta_title = get_metadata('term', $term->term_id, 'wpms_category_metatitle', true); } $meta_title = $opengraph->replaceSnippet($meta_title, null); }
As you can see here, if “wpms_category_metatitle” term is empty for any category, then it will cause empty
<title></title>
in header.php.Please have a look.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Empty title tags for terms’ is closed to new replies.