not checked for your theme, but has been working with several other more recent themes:
– try to use a filter function in functions.php of your child theme:
add_filter( 'get_the_archive_title', 'remove_category_word_from_archive_title' );
function remove_category_word_from_archive_title( $title ) {
$title = str_replace( 'Category:', '', $title );
return $title;
}
https://ww.wp.xz.cn/support/topic/remove-categories-title-2?replies=4#post-7228719
Thread Starter
futup
(@futup)
HI MIchael, thanks for the quick answer!
Unfortunately I don’t find the functions.php, the .php in Editor I have are these:
404 Template
(404.php)
Archives
(archive.php)
Comments
(comments.php)
content-custom-header.php
content-featured-post.php
content-food-menu.php
content-none.php
content-page.php
content.php
Theme Footer
(footer.php)
Theme Functions
(functions.php)
Theme Header
(header.php)
Image Attachment Template
(image.php)
setup-theme-options.php
(inc/setup-theme-options.php)
setup.php
(inc/setup.php)
Main Index Template
(index.php)
loop-banner.php
loop-blog-condensed.php
loop-food-menu.php
loop.php
menu-social.php
Fullwidth page Page Template
(page-template/_fullwidth.php)
Food menu Page Template
(page-template/_menu.php)
Page Template
(page.php)
Search Results
(search.php)
Search Form
(searchform.php)
sidebar-footer.php
sidebar-front-page.php
Sidebar
(sidebar.php)
Single Post
(single.php)
Styles
Stylesheet
(style.css)
Hi,
Solution provided by Michael will work for Auberge theme too (thank you Michael for that!).
Just like Michael mentioned, you need to put the code into the functions.php file of your child theme. You can download sample child theme from https://github.com/webmandesign/child-theme
Regards,
Oliver
Thread Starter
futup
(@futup)
Sorry I’m blind, found the functions.php (I even posted it ahah).
WORKS!
Thank you very much for your help 🙂
Axel