Длительность
Предмет
Стоимость от за ак. час

О наших занятиях

Особенности курса

Популярные курсы

0) { foreach( $select_popular_course as $item ) { $post = get_post( $item['id'] ); $gallery = get_field('gallery'); ?>

Программа курса

Наши
преподаватели

-1, 'orderby' => 'date', 'order' => 'DESC', 'post_type' => 'teacher', 'meta_query' => array( array( 'key' => 'select_courses', 'carbon_field_property' => 'id', //Ключевое в условии meta_query указать этот параметр 'compare' => '==', 'value' => $post_id, ), ), ); // Получение списка преподавателей $teachers = get_posts( $teachers_args ); ?>
ID, 'select_courses' )); ?>
name == ) $name = $current_term->name; $name = preg_replace('~[^А-Я]~u', '', $name); $name = mb_substr($name , 1); $name = mb_substr($name, 0, -1); ?>

Предметы для подготовки к

12, 'category' => 0, 'orderby' => 'date', 'order' => 'DESC', 'include' => array(), 'exclude' => array(), 'meta_key' => '', 'meta_value' => '', 'post_type' => 'course', 'suppress_filters' => true, 'tax_query' => array( array( 'taxonomy' => 'courses', 'field' => 'term_id', 'terms' => $current_term->term_id, /// Where term_id of Term 1 is "1". 'include_children' => false ) ) ) ); foreach( $posts as $post ){ setup_postdata($post); $kratkoe_naimenovanie = get_field('kratkoe_naimenovanie'); $ikonka_svg = get_field('ikonka_svg'); ?> <?php the_title(); ?>

0) : ?>

Вопрос - Ответ

request)); $home_url = get_site_url(); $social_media = carbon_get_theme_option( 'social_media' ); $schema_social = ''; foreach( $social_media as $item ) { if ($item['social_media_link'] != '') { $schema_social .= '"' . $item['social_media_link'] . '",'; } } if ( $schema_social != '' ) $schema_social = substr($schema_social, 0, -1); // Удаляем последний символ $site_index = carbon_get_theme_option( 'site_index' ); $site_region = carbon_get_theme_option( 'site_region' ); $site_address = carbon_get_theme_option( 'site_address' ); $site_city = carbon_get_theme_option( 'site_city' ); $site_phone = carbon_get_theme_option( 'site_phone' ); $schema_certificate = replaceQuotes(carbon_get_post_meta( $post_id, 'schema_certificate' )); $schema_age = replaceQuotes(carbon_get_post_meta( $post_id, 'schema_age' )); $price_hour_discount4 = carbon_get_theme_option( 'price_hour_discount4' ); $schema_age = replaceQuotes(carbon_get_post_meta( $post_id, 'schema_age' )); $schema_keywords = carbon_get_post_meta( $post_id, 'schema_keywords' ); $schema_sections = carbon_get_post_meta( $post_id, 'schema_section' ); $sectionsHTML = ''; foreach( $schema_sections as $item ) { $schema_section_name = $item['schema_section_name']; $schema_section_description = $item['schema_section_description']; $sectionsHTML .=' { "@type": "DefinedTerm", "name": "' . $schema_section_name .'", "description": "' . $schema_section_description . '" },'; } if ( $sectionsHTML != '' ) $sectionsHTML = substr($sectionsHTML, 0, -1); // Удаляем последний символ ?>