2026-08-30 Правки секции hero
This commit is contained in:
parent
9f9840d7be
commit
91aa9c33ce
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user