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?
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.