#741
n.worker
Participant

Hello,
thanks for your reply. I just wanted to test your changes so I didn’t create a child theme yet but used the original one under wordpress / wp-content / themes / evisioncorporatepro / inc / sidebar-widget / portfolio.php. In line 421 I changed “All” to “Alle”. Now the code in this block is:

$portfolio_filter_grid = ”;
if( 1 == $evisioncorporatepro_enable_filter ){
$args_portfolio_cats = array(
‘orderby’ => ‘name’,
‘order’ => ‘ASC’,
‘hide_empty’ => true,
‘number’ => ”,
‘fields’ => ‘all’,
‘hierarchical’ => true,
);
$portfolio_cats = get_terms( ‘et-portfolio-cat’, $args_portfolio_cats );
if ( ! empty( $portfolio_cats ) && ! is_wp_error( $portfolio_cats ) ){
$portfolio_filter_grid = ‘et-portfolio-filter-grid’;
echo ‘<ul class=”et-portfolio-filter”>’;
echo ‘

  • ‘.__( ‘Alle’, ‘evisioncorporatepro’ ).’
  • ‘;
    foreach ( $portfolio_cats as $portfolio_cat ) {
    echo ‘

  • slug.$portfolio_cat->term_id.'”>’ . $portfolio_cat->name . ‘
  • ‘;
    }
    echo ‘‘;

    Unfortunately this doesn’t change the “All” to “Alle”.

    Do you have any further ideas?

    Thanks and regards