Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
- AuthorPosts
- stefanp44Participant
Thanks!
stefanp44ParticipantHi,
Thanks for your answer. I found another solution : as I alone will edit the website, I hard coded the variables straight into my child theme. As you can see below, if it’s English then the variables are, else if it’s German, the variables are … Works too ! 😉
if(ICL_LANGUAGE_CODE=='en') : $total_counter_title = array ('', 'countries', 'satisfied customers', 'worldwide projects', 'installed kilometers'); if(ICL_LANGUAGE_CODE=='de') : $total_counter_title = array ... endif;
stefanp44ParticipantHi,
Thanks for your answer.
Perhaps I could adjust it directly in the template of my child theme, tweaking those two lines:
$total_counter_title = get_theme_mod(‘total_counter_title’.$i);
<h3 class=”ht-counter-title”><?php echo esc_html($total_counter_title); ?></h3>and adjusting them with conditions:
if language is german, then …Would you have any hint regarding this ?
- AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)