Skip to content

Commit

Permalink
SEO Tools: support taxonomy archive pages in page titles. (#12425)
Browse files Browse the repository at this point in the history
The SEO Tools allows you to set a custom title for different types of pages, from your WordPress.com dashboard.
However, once you've done that and when viewing a taxonomy archive page, you get an incomplete title. This fixes is, since taxonomy archive pages are very similar to non-custom taxonomy archive pages like category or tag pages.
  • Loading branch information
jeherve authored May 21, 2019
1 parent ef00de1 commit ef84cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/seo-tools/jetpack-seo-titles.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public static function get_page_type() {
return 'front_page';
}

if ( is_category() || is_tag() ) {
if ( is_category() || is_tag() || is_tax() ) {
return 'groups';
}

Expand Down

0 comments on commit ef84cd7

Please sign in to comment.