Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#4209 closed defect (bug) (fixed)

Change title tag formatting on archive templates

Reported by: jonoaldersonwp's profile jonoaldersonwp Owned by: dd32's profile dd32
Milestone: Priority: lowest
Component: Keywords: seo

Description (last modified by jonoaldersonwp)

Archive templates currently output a title tag in the following format:
{{ARCHIVE NAME}} | | Page {{N}}

This should be altered to:
{{ARCHIVE NAME}} - Page {{N}} |

Language-filtered archives include an additional component; e.g:
{{LANGUAGE NAME}} | Language | | Page {{N}}

This should be altered to:
Videos in {{LANGUAGE NAME}} - Page {{N}} |

In both cases, the first page in the series should omit the - Page {{N}} component.

Change History (4)

#1 @jonoaldersonwp
5 years ago

  • Description modified (diff)

#2 @dd32
5 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 8371:

WordPress.TV: Adjust the title formats.

This upgrades the theme to using the newer title support which handles the requested structure better.

Fixes #4209.

#3 @dd32
5 years ago

FYI: I've left it with a consistent - separator as Cores functions don't allow multiple separator types, I could force it, but didn't seem worth it. eg: {{ARCHIVE NAME}} - Page {{N}} -

I also suffixed terms with the Taxonomy singular label, as it seemed the sanest option at the time, but I don't like it, so i'm going to re-do that with some more specific phrases, commit incoming.

Last edited 5 years ago by dd32 (previous) (diff)

#4 @dd32
5 years ago

In 8373: Switch from a generic taxonomy title to more specific titles for each archive type.

See #4209.

Note: See TracTickets for help on using tickets.