Customize Gtranslate
-
Hello,
I have customized the plugin files of Gtranslate which is under “/wp-content/plugins/gtranslate/js” path and the code is located in the line 98-99
And commented it and added the fontawesome icon to get the desired look.
Is there any way with which I can get this done in the child theme ? Or a hook or a filter so that any updates to the plugin doesn’t remove the code ?
var arrow_down = '<span style="color:#666;font-size:8px;font-weight:bold;">▼</span>'; //widget_code += '<img src="'+get_flag_src(current_lang)+'" height="'+flag_size+'" width="'+flag_size+'" alt="'+current_lang+'" /> <span>'+lang_array[current_lang]+'</span>'+arrow_down+'</a>'; widget_code += '<i class="fas fa-thin fa-language"></i></a>';
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Customize Gtranslate’ is closed to new replies.