Select your language

Version archive (GitHub)

WT Custom menu item banner v.1.2.2

2025-03-13 v.1.2.2 GitHub

Release notes

EN

The "use banner" button

The "use banner" button has been added to the menu item settings. In the code, you can use the logical flag $useBanner = $wt_custom_menu_item_banner->use_banner ?? false; in order to simplify further checks for banner display.
Note! After the update, you may need to update the settings of the menu item and enable the "use banner" option.

RU

Кнопка "использовать баннер"

Добавлена кнопка "использовать баннер" в настройки пункта меню. В коде вы можете использовать логический флаг $useBanner = $wt_custom_menu_item_banner->use_banner ?? false; для того, чтобы упростить дальнейшие проверки на отображение баннера.
Возможно, после обновления вам потребуется обновить настройки пункта меню и включить параметр "использовать баннер".