How can I delete this
https://share.cleanshot.com/1fGzWFzm
This topic has 7 replies, 4 voices, and was last updated 1 weeks ago ago by Tony Rodriguez
How can I delete this
https://share.cleanshot.com/1fGzWFzm
Hi @ziga32,
Please add the following code under functions.php file locates in your child theme:
function n2t_text_strings( $translated_text, $text, $domain ) {
switch ( $translated_text ) {
case 'Category: ' :
$translated_text = '';
break;
}
return $translated_text;
}
add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
Hope it helps!
Hello @ziga32,
The specified strings are located in the xstore/templates/breadcrumbs.php file: https://prnt.sc/4SbMj6QvGnJd. These strings are available for translation using the Loco Translate plugin or other similar translation plugins.
To remove such a string, you can either copy the mentioned file to your xstore-child directory, maintaining the same path, and make any desired modifications. Alternatively, you can translate the specified string to an empty value or a space character using the plugins mentioned above.
Alternatively, you can use the snippet provided above.
Best regards,
Jack Richardson
8Theme Team
Snippet worked great, many thanks!
Hello @ziga32,
We are glad to hear that the snippet worked well for you. Thank you for your kind feedback!
Best Regards,
Jack Richardson
8Theme’s Team
Thanks for the support! My topic “delete category prefix in category header” has been successfully resolved.
Dear ziga32,
We really appreciate your time and engagement within the WordPress & WooCommerce community
Your feedback drives every improvement we make in XStore — helping us deliver a smoother and more flexible experience with each update.
Leave Feedback →
(takes less than a minute)
Your input makes a real difference.
Topic closed.
The 8Theme Team
The issue related to '‘delete category prefix in category header’' has been successfully resolved, and the topic is now closed for further responses