WPML
Status
Resolved

Overview of the issue

It is not possible to save the setting for the language switcher when using the Enfold theme. For example, changing the footer language switcher color and setting its Preset color to “White” will not be saved.

Workaround

Add the following code to the functions.php file found in the Enfold theme’s directory (../wp-content/themes/enfold):

add_action('admin_footer', 'add_custom_script');
function add_custom_script(){
?>
<script>
(function($){
	function i() {
		$('.wpml-section form').each(function() {
			$(this).attr('novalidation', '');
		});
	}
	i();
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');

All known issues →