ahmedkaludi / wp-multilang

14 stars 2 forks source link

Language switcher is missing in the widgets block editor #15

Closed g4rf closed 3 months ago

g4rf commented 4 months ago

If the widgets are styled via the block editor, the language switcher is missing. Like in the issue #14 the language switcher should be added via a block editor API.

As a workaround, it's possible to deactivate the block editor on widgets via

add_filter( 'use_widgets_block_editor', '__return_false' );

But this should be an option in the WP Multilang admin menu, not a general behaviour, as it may be unexpected to the user and broke existing widget areas.

Sanjeevsetu commented 3 months ago

We have added it in our last update v 2.4.5. You can now see language switcher in widgets block. Please check and let us know

g4rf commented 3 months ago

Thank you very much for inserting the language switcher. As you can see here, it's cutted on overflow, maybe because the "Top Toolbar" is activated. In PR #51 is a css solution that works.

grafik