- Statut
- Résolu
- Signalé pour
- WPML Multilingual CMS 3.3.5
- Extension/thème associé
- Enfold
Aperçu de l’anomalie
Lorsque le thème Enfold est actif et que l’option « Un domaine différent par langue » est choisie, les styles du thème ne sont pas chargés.
Solution de contournement
Ajoutez le code suivant au fichier functions.php du thème Enfold :
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' );