'до 12', 'stat_label' => 'человек в классе'), array('stat_number' => '5', 'stat_label' => 'дней в неделю'), array('stat_number' => '8:30', 'stat_label' => 'старт занятий'), ); } // ─── Данные филиала ─── $branch_city = get_option('branch_city') ?: crb_get_theme_option('site_city', 'Щёлково'); $branch_phone = get_option('branch_phone') ?: crb_get_theme_option('site_phone'); $phone_clean = $branch_phone ? preg_replace('/[\s\-\–\(\)]/', '', $branch_phone) : ''; $rating_ya = get_option('branch_rating_yandex', ''); $rating_2gis = get_option('branch_rating_2gis', ''); // ─── Фото героя ─── $hero_src = ''; $hero_alt = wp_strip_all_tags($hero_title); if ($hero_image) { $hero_img = wp_get_attachment_image_src((int) $hero_image, 'large'); if (is_array($hero_img)) { $hero_src = $hero_img[0]; } $hero_alt = get_post_meta((int) $hero_image, '_wp_attachment_image_alt', true) ?: $hero_alt; } if (! $hero_src) { $hero_src = get_template_directory_uri() . '/assets/images/logo-svg.svg'; } ?>
Набор 2026/27 учебный год

0) : ?>
<?php echo esc_attr($hero_alt); ?>