WPML
Status
Resolved
Reported for
WPML Multilingual CMS 4.6.8
Resolved in
WPML 4.6.9
Topic tags
Bug

Overview of the issue

If you are using the WPML Language Switcher Block with a Full Site Editing (FSE) theme and do not have a Navigation block present on your page, the Language Switcher Block may appear broken due to missing styles.

Workaround

Please, make sure of having a full backup of your site before proceeding.


  • Add the following code to your theme’s functions.php file:
    add_action('init', function(){
    	wp_enqueue_block_style('wpml/language-switcher', [
    		'handle' => 'wp-block-navigation'
    	]);
    });

All known issues →