YooTheme

Widgets do not display within sub menus

YooThemes alters the way widgets are processed by WordPress, which prevents widgets from displaying within sub menus.

Unfortunately there is currently no correct solution for this, as it requires editing the theme files directly.

Temporary Workaround

Step 1

Edit vendor/yootheme/theme-wordpress-widgets/src/WidgetsListener.php , find:

Replace with:

Please note you will need to reapply this change each time the theme is updated. We are attempting to work with YooTheme in order to get this change added directly to the theme itself.

Step 2

In your Child Themes functions.php file, add the following:

 

Related Articles