I am using wordpress with sage theme and would like delete the term “Archives:” from the meta title of CPT archive page.
Asked
Active
Viewed 500 times
1 Answers
0
There is an example here: https://developer.wordpress.org/reference/functions/get_the_archive_title/
CPT Title Without word: ‘Archive’: If you are building custom archive template for a CPT, and want to output just the title of the CPT with no extra word like “Archive” use following function instead:
echo post_type_archive_title( '', false );