Site icon Catch Themes

Tag: or Category: in Archive-title

A archive page is given the title: "Category: <category-title>" or "Tag: <tag-title>". In my case I would prefer simply "<category-title>" or "<tag-title>" I found two options: * in the translation, but in catchkathmandu.pot I couldn't find the phrase: Category: %s nor Tag: %s; I did find it in the language files in Wp-content/languages, and that worked - till the translation of Wordpress (not of the theme) was updated. I tried to place the nl_NL.po in the childtheme/languages, but that made no difference. Then I succeeded in adding both phrases to the catchkathmandu.pot and exported it as catchkathmanduchild.po/mo but it didn't work. Or maybe these files were not in the right location. Where should they be placed? * another thing I tried was to copy from the general-template.php the function get_the_archive_title() into a general-template.php and skipped the words "Tag: " and "Category : ", placing the file in the childtheme. But that wasn't working. Or should I place the general-template.php in a different folder in stead of in the childthemes root-folder? Who knows the way to reach my goal? Thanks for reading and thinking. Roeland KH
Exit mobile version