Ethos portfolio page rename filter

Hi there,

i try to rename the “Filter by category” dropdown text by editing portfolio.php line 293 and 294 in child theme. But if i change the text nothing happens on the page.

E.g. i like to rename Filter by Category to Suche nach…

Any help?
Thx
Ingo

Hey Ingo,

Thank you for reaching out to us. To change the Filter by Category title, try adding the following code in the Theme Options > JS:

jQuery(document).ready(function($){
	$('.x-portfolio-filter-label').html("Suche nach");
});

Don’t forget to clear all caches including your browser’s cache after adding the code. Let us know how this goes!

Perfect thx so much

I also tried to renam the first category “All” to Alle. I tried with a custom _index.php file and rename the corrospondinf line. But the change is not reflected. Is there an other place where the options are created?

Hi there,

Please update the code to:


jQuery(document).ready(function($){
    $('.x-portfolio-filter-label').html("Suche nach");
    $('.x-portfolio-filters-menu li:first-child a').html("Alle");
});

You might also want to check this KB article in case you aim to translate for text:

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.