Hello, I would like to know how I can translate the “category archive” text into Spanish, I leave a sample page.
Thank you very much, greetings.
Hi There,
You have to install and activate the child theme first: https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57.
After that adding this custom code under functions.php
file locates in your child theme:
add_filter( 'gettext', 'x_edit_texts' );
function x_edit_texts($translation){
$translation = str_ireplace('Category Archive', 'Your Spanish Text', $translation);
return $translation;
}
Let us know how it goes!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.