2026-08-30 Правки секции hero

This commit is contained in:
Dekart Deploy Bot 2026-08-30 16:26:52 +00:00
parent 9f9840d7be
commit 91aa9c33ce

View File

@ -2473,6 +2473,12 @@ function rand_color()
add_theme_support('post-thumbnails');
// Навигационные меню: возвращает пункт «Внешний вид → Меню» в админке
add_theme_support('menus');
register_nav_menus(array(
'top' => __('Основное меню (шапка/подвал)', 'dekart'),
));
add_action('pre_get_posts', 'exclude_custom_taxonomy_posts');
function exclude_custom_taxonomy_posts($query)
{