- Status
- Resolved
- Reported for
- WPML Multilingual CMS 3.3.5
- Related plugin/theme
- Enfold
Overview of the issue
When the Enfold theme is active and “A different domain per language” option is chosen, the theme styles are not being loaded.
Workaround
Add the following code to the Enfold theme functions.php file:
function wpml_enfold_fix_resources_uri() {
remove_filter ('stylesheet_directory_uri', 'avia_wpml_correct_domain_in_url');
remove_filter ('template_directory_uri', 'avia_wpml_correct_domain_in_url');
}
add_action( 'init', 'wpml_enfold_fix_resources_uri' );