Final. Deploy ready
This commit is contained in:
parent
c611c12ee8
commit
16015536a9
@ -30,7 +30,7 @@
|
|||||||
<div class="footer__link-icon">
|
<div class="footer__link-icon">
|
||||||
<img width="19" height="32"
|
<img width="19" height="32"
|
||||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-location.svg"
|
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-location.svg"
|
||||||
alt="" role="presentation" loading="lazy">
|
role="presentation" loading="lazy">
|
||||||
<span>г. <?php echo esc_html( carbon_get_theme_option('site_city') ); ?> <br class="mobile"> <?php echo esc_html( carbon_get_theme_option('site_address') ); ?></span>
|
<span>г. <?php echo esc_html( carbon_get_theme_option('site_city') ); ?> <br class="mobile"> <?php echo esc_html( carbon_get_theme_option('site_address') ); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<a class="footer__link-icon"
|
<a class="footer__link-icon"
|
||||||
@ -77,7 +77,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<link rel="sitemap" type="application/xml" href="/sitemap.xml">
|
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function() {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
var formButton = document.querySelector('.btn-write-camp');
|
var formButton = document.querySelector('.btn-write-camp');
|
||||||
|
|||||||
@ -788,7 +788,7 @@ function add_og_image() {
|
|||||||
$term = get_queried_object();
|
$term = get_queried_object();
|
||||||
if ($term->term_id) {
|
if ($term->term_id) {
|
||||||
$snippet = carbon_get_term_meta( $term->term_id, 'snippet' );
|
$snippet = carbon_get_term_meta( $term->term_id, 'snippet' );
|
||||||
if ($snippet != '') echo '<meta property="og:image" content="' . wp_get_attachment_url($snippet) . '" />' . "\n";
|
if ($snippet != '') echo '<meta property="og:image" content="' . wp_get_attachment_url($snippet) . '" >' . "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
add_action( 'wp_head', 'add_og_image' );
|
add_action( 'wp_head', 'add_og_image' );
|
||||||
@ -1010,3 +1010,93 @@ function dekart_acf_delete_json($post_id) {
|
|||||||
unlink($json_file);
|
unlink($json_file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ─────────────────────────────────────────────────────────────
|
||||||
|
// Счетчики — централизованное управление (Настройки → Счетчики)
|
||||||
|
// ─────────────────────────────────────────────────────────────
|
||||||
|
add_action('admin_menu', 'dekart_counters_menu');
|
||||||
|
function dekart_counters_menu() {
|
||||||
|
add_options_page('Счетчики', 'Счетчики', 'manage_options', 'dekart-counters', 'dekart_counters_page');
|
||||||
|
}
|
||||||
|
|
||||||
|
add_action('admin_init', 'dekart_counters_settings');
|
||||||
|
function dekart_counters_settings() {
|
||||||
|
register_setting('dekart_counters_group', 'dekart_counter_yandex');
|
||||||
|
register_setting('dekart_counters_group', 'dekart_counter_gtm_head');
|
||||||
|
register_setting('dekart_counters_group', 'dekart_counter_gtm_body');
|
||||||
|
register_setting('dekart_counters_group', 'dekart_counter_footer');
|
||||||
|
|
||||||
|
$yandex_default = "<!-- Yandex.Metrika counter -->\n<script>\n (function(m,e,t,r,i,k,a){\n m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};\n m[i].l=1*new Date();\n for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}\n k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)\n })(window, document,'script','https://mc.yandex.ru/metrika/tag.js', 'ym');\n\n ym(99835482, 'init', {webvisor:true, clickmap:true, referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true});\n</script>\n<!-- /Yandex.Metrika counter -->";
|
||||||
|
|
||||||
|
$gtm_head_default = "<!-- Google Tag Manager -->\n<script>\n(function(w,d,s,l,i){\n w[l]=w[l]||[];\n w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});\n var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),\n dl=l!='dataLayer'?'&l='+l:'';\n j.async=true;\n j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;\n f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-WJVZ4MKN');\n</script>\n<!-- /Google Tag Manager -->";
|
||||||
|
|
||||||
|
$gtm_body_default = "<!-- Google Tag Manager (noscript) -->\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-WJVZ4MKN\"\nheight=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\n<!-- /Google Tag Manager (noscript) -->";
|
||||||
|
|
||||||
|
$footer_default = "<!-- Yandex.Metrika counter -->\n<noscript><div><img src=\"https://mc.yandex.ru/watch/99835482\" style=\"position:absolute; left:-9999px;\" alt=\"\"></div></noscript>\n<!-- /Yandex.Metrika counter -->";
|
||||||
|
|
||||||
|
if (get_option('dekart_counter_yandex') === false) add_option('dekart_counter_yandex', $yandex_default);
|
||||||
|
if (get_option('dekart_counter_gtm_head') === false) add_option('dekart_counter_gtm_head', $gtm_head_default);
|
||||||
|
if (get_option('dekart_counter_gtm_body') === false) add_option('dekart_counter_gtm_body', $gtm_body_default);
|
||||||
|
if (get_option('dekart_counter_footer') === false) add_option('dekart_counter_footer', $footer_default);
|
||||||
|
}
|
||||||
|
|
||||||
|
function dekart_counters_page() {
|
||||||
|
?>
|
||||||
|
<div class="wrap">
|
||||||
|
<h1>Счетчики</h1>
|
||||||
|
<form method="post" action="options.php">
|
||||||
|
<?php settings_fields('dekart_counters_group'); ?>
|
||||||
|
<h2 class="title">Яндекс.Метрика / Tag Manager</h2>
|
||||||
|
<table class="form-table">
|
||||||
|
<tr>
|
||||||
|
<th scope="row">Yandex Code</th>
|
||||||
|
<td><textarea name="dekart_counter_yandex" rows="10" class="large-text code"><?php echo esc_textarea(get_option('dekart_counter_yandex', '')); ?></textarea>
|
||||||
|
<p class="description">Код счетчика. Выводится в <code><head></code>.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<h2 class="title">Google Tag Manager (GTM)</h2>
|
||||||
|
<table class="form-table">
|
||||||
|
<tr>
|
||||||
|
<th scope="row">GTM Head</th>
|
||||||
|
<td><textarea name="dekart_counter_gtm_head" rows="10" class="large-text code"><?php echo esc_textarea(get_option('dekart_counter_gtm_head', '')); ?></textarea>
|
||||||
|
<p class="description">Основной код GTM. Выводится в <code><head></code>.</p></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">GTM Body</th>
|
||||||
|
<td><textarea name="dekart_counter_gtm_body" rows="6" class="large-text code"><?php echo esc_textarea(get_option('dekart_counter_gtm_body', '')); ?></textarea>
|
||||||
|
<p class="description">Код <code><noscript></code>. Выводится сразу после открытия <code><body></code> через хук <code>wp_body_open</code>.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<h2 class="title">Произвольные скрипты</h2>
|
||||||
|
<table class="form-table">
|
||||||
|
<tr>
|
||||||
|
<th scope="row">Site-wide Footer Scripts</th>
|
||||||
|
<td><textarea name="dekart_counter_footer" rows="10" class="large-text code"><?php echo esc_textarea(get_option('dekart_counter_footer', '')); ?></textarea>
|
||||||
|
<p class="description">Для чатов, пикселей и прочих скриптов. Выводится в <code><footer></code>.</p></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<?php submit_button(); ?>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
|
||||||
|
add_action('wp_head', 'dekart_output_counters', 1);
|
||||||
|
function dekart_output_counters() {
|
||||||
|
$yandex = stripslashes(get_option('dekart_counter_yandex', ''));
|
||||||
|
$gtmhead = stripslashes(get_option('dekart_counter_gtm_head', ''));
|
||||||
|
if ($yandex) echo "\n" . $yandex . "\n";
|
||||||
|
if ($gtmhead) echo "\n" . $gtmhead . "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
add_action('wp_body_open', 'dekart_output_gtm_body', 1);
|
||||||
|
function dekart_output_gtm_body() {
|
||||||
|
$gtmbody = stripslashes(get_option('dekart_counter_gtm_body', ''));
|
||||||
|
if ($gtmbody) echo "\n" . $gtmbody . "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
add_action('wp_footer', 'dekart_output_counters_footer', 100);
|
||||||
|
function dekart_output_counters_footer() {
|
||||||
|
$footer = stripslashes(get_option('dekart_counter_footer', ''));
|
||||||
|
if ($footer) echo "\n" . $footer . "\n";
|
||||||
|
}
|
||||||
|
|||||||
@ -1,20 +1,6 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html <?php language_attributes(); ?>>
|
<html <?php language_attributes(); ?>>
|
||||||
<head>
|
<head>
|
||||||
<!-- Yandex.Metrika counter -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
(function(m,e,t,r,i,k,a){
|
|
||||||
m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
|
||||||
m[i].l=1*new Date();
|
|
||||||
for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
|
|
||||||
k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)
|
|
||||||
})(window, document,'script','https://mc.yandex.ru/metrika/tag.js', 'ym');
|
|
||||||
|
|
||||||
ym(99835482, 'init', {webvisor:true, clickmap:true, referrer: document.referrer, url: location.href, accurateTrackBounce:true, trackLinks:true});
|
|
||||||
</script>
|
|
||||||
<noscript><div><img src="https://mc.yandex.ru/watch/99835482" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
|
|
||||||
<!-- /Yandex.Metrika counter -->
|
|
||||||
|
|
||||||
<meta charset="<?php bloginfo('charset'); ?>">
|
<meta charset="<?php bloginfo('charset'); ?>">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
@ -22,12 +8,10 @@
|
|||||||
?>
|
?>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link rel="preconnect" href="https://www.googletagmanager.com">
|
|
||||||
<link rel="preconnect" href="https://cdn-ru.bitrix24.ru">
|
<link rel="preconnect" href="https://cdn-ru.bitrix24.ru">
|
||||||
<link rel="preconnect" href="https://cdn.jsdelivr.net">
|
<link rel="preconnect" href="https://cdn.jsdelivr.net">
|
||||||
<link rel="dns-prefetch" href="//api-maps.yandex.ru">
|
<link rel="dns-prefetch" href="//api-maps.yandex.ru">
|
||||||
<link rel="dns-prefetch" href="//mod.gudok.tel">
|
<link rel="dns-prefetch" href="//mod.gudok.tel">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// ─────────────────────────────────────────────────────────────────────
|
// ─────────────────────────────────────────────────────────────────────
|
||||||
// PRELOAD ЛОГОТИПА — он в первом экране, грузим как приоритет
|
// PRELOAD ЛОГОТИПА — он в первом экране, грузим как приоритет
|
||||||
@ -84,25 +68,6 @@ if ( is_front_page() ) {
|
|||||||
onload="this.onload=null;this.rel='stylesheet'">
|
onload="this.onload=null;this.rel='stylesheet'">
|
||||||
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Oswald:wght@300;400;700&family=Fredoka:wght@400;500;600;700&family=Manrope:wght@700;800&family=Montserrat:wght@800&family=Poppins:wght@500;600;900&display=swap"></noscript>
|
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Oswald:wght@300;400;700&family=Fredoka:wght@400;500;600;700&family=Manrope:wght@700;800&family=Montserrat:wght@800&family=Poppins:wght@500;600;900&display=swap"></noscript>
|
||||||
|
|
||||||
<?php
|
|
||||||
// ─────────────────────────────────────────────────────────────────────
|
|
||||||
// GTM — должен быть в <head> для корректной работы,
|
|
||||||
// но j.async=true — не блокирует парсинг HTML
|
|
||||||
// ─────────────────────────────────────────────────────────────────────
|
|
||||||
?>
|
|
||||||
<script>
|
|
||||||
(function(w,d,s,l,i){
|
|
||||||
w[l]=w[l]||[];
|
|
||||||
w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});
|
|
||||||
var f=d.getElementsByTagName(s)[0],
|
|
||||||
j=d.createElement(s),
|
|
||||||
dl=l!='dataLayer'?'&l='+l:'';
|
|
||||||
j.async=true;
|
|
||||||
j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;
|
|
||||||
f.parentNode.insertBefore(j,f);
|
|
||||||
})(window,document,'script','dataLayer','GTM-WJVZ4MKN');
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// ─────────────────────────────────────────────────────────────────────
|
// ─────────────────────────────────────────────────────────────────────
|
||||||
// ГУДОК — async, оставляем как есть
|
// ГУДОК — async, оставляем как есть
|
||||||
@ -136,14 +101,7 @@ if ( is_front_page() ) {
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
|
<?php if (function_exists('wp_body_open')) wp_body_open(); ?>
|
||||||
<?php
|
|
||||||
// ─────────────────────────────────────────────────────────────────────
|
|
||||||
// GTM noscript — СРАЗУ после открывающего <body>, требование Google Tag Manager
|
|
||||||
// ─────────────────────────────────────────────────────────────────────
|
|
||||||
?>
|
|
||||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WJVZ4MKN"
|
|
||||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
||||||
|
|
||||||
<header class="header">
|
<header class="header">
|
||||||
<nav class="header-nav" aria-label="Основная навигация">
|
<nav class="header-nav" aria-label="Основная навигация">
|
||||||
@ -187,9 +145,9 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|||||||
|
|
||||||
<div class="add-menu desktop">
|
<div class="add-menu desktop">
|
||||||
<div class="add-menu_item">
|
<div class="add-menu_item">
|
||||||
<img width="15" height="25"
|
<img width="15" height="25"
|
||||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-location.svg"
|
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-location.svg"
|
||||||
alt="" role="presentation" loading="lazy">
|
alt="Адрес" loading="lazy">
|
||||||
<span><?php echo esc_html( carbon_get_theme_option('site_address') ); ?></span>
|
<span><?php echo esc_html( carbon_get_theme_option('site_address') ); ?></span>
|
||||||
</div>
|
</div>
|
||||||
<a target="_blank" rel="noopener noreferrer"
|
<a target="_blank" rel="noopener noreferrer"
|
||||||
@ -233,9 +191,9 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<a class="inter-lk desktop" href="https://lk.dekart-school.ru/" target="_blank" rel="noopener noreferrer">
|
<a class="inter-lk desktop" href="https://lk.dekart-school.ru/" target="_blank" rel="noopener noreferrer">
|
||||||
<img width="18" height="23"
|
<img width="18" height="23"
|
||||||
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-user.svg"
|
src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/icon-user.svg"
|
||||||
alt="" role="presentation" loading="lazy">
|
alt="Личный кабинет" loading="lazy">
|
||||||
<span><?php esc_html_e('Личный кабинет', 'dekart'); ?></span>
|
<span><?php esc_html_e('Личный кабинет', 'dekart'); ?></span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -277,7 +277,7 @@ $post_id = get_the_ID();
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script>
|
<script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
let mapLoad = false;
|
let mapLoad = false;
|
||||||
|
|||||||
@ -2,55 +2,14 @@
|
|||||||
/*
|
/*
|
||||||
Template Name: Шаблон страницы Лагерь
|
Template Name: Шаблон страницы Лагерь
|
||||||
*/
|
*/
|
||||||
|
$city = get_field( 'camp_city', get_the_ID() ) ?: carbon_get_post_meta( get_the_ID(), 'camp_city' ) ?: carbon_get_theme_option( 'site_city' ) ?: 'в Щёлково';
|
||||||
add_action('wp_head', function() {
|
$city_clean = preg_replace( '/^в\s+/u', '', $city );
|
||||||
if ( ! is_page_template('page-camp.php') ) return;
|
add_action('wp_head', function() { echo '<style>.hidden{display:none}</style>'; }, 100);
|
||||||
|
get_header();
|
||||||
$post_id = get_the_ID();
|
|
||||||
$theme_uri = get_template_directory_uri();
|
|
||||||
$title = wp_get_document_title();
|
|
||||||
$desc = get_post_meta( $post_id, '_yoast_wpseo_metadesc', true ) ?: get_the_excerpt();
|
|
||||||
$img_id = carbon_get_post_meta( $post_id, 'banner_img' );
|
|
||||||
if ( ! $img_id ) {
|
|
||||||
$img_id = get_post_thumbnail_id( $post_id );
|
|
||||||
}
|
|
||||||
$img_url = $img_id ? wp_get_attachment_image_url( $img_id, 'full' ) : '';
|
|
||||||
|
|
||||||
echo "\n<!-- SEO meta (page-camp.php) -->\n";
|
|
||||||
|
|
||||||
if ( $title ) {
|
|
||||||
echo '<meta property="og:title" content="' . esc_attr( wp_strip_all_tags( $title ) ) . '">' . "\n";
|
|
||||||
}
|
|
||||||
if ( $desc ) {
|
|
||||||
echo '<meta property="og:description" content="' . esc_attr( wp_strip_all_tags( $desc ) ) . '">' . "\n";
|
|
||||||
}
|
|
||||||
echo '<meta property="og:type" content="website">' . "\n";
|
|
||||||
echo '<meta property="og:url" content="' . esc_url( get_permalink( $post_id ) ) . '">' . "\n";
|
|
||||||
echo '<meta property="og:site_name" content="' . esc_attr( get_bloginfo('name') ) . '">' . "\n";
|
|
||||||
echo '<meta property="og:locale" content="ru_RU">' . "\n";
|
|
||||||
if ( $img_url ) {
|
|
||||||
echo '<meta property="og:image" content="' . esc_url( $img_url ) . '">' . "\n";
|
|
||||||
}
|
|
||||||
echo '<link rel="canonical" href="' . esc_url( get_permalink( $post_id ) ) . '">' . "\n";
|
|
||||||
|
|
||||||
$icon_id = get_option( 'site_icon' );
|
|
||||||
if ( $icon_id ) {
|
|
||||||
echo '<link rel="icon" href="' . esc_url( wp_get_attachment_url( $icon_id ) ) . '">' . "\n";
|
|
||||||
} else {
|
|
||||||
echo '<link rel="icon" href="' . esc_url( $theme_uri ) . '/assets/images/logo-svg.svg" type="image/svg+xml">' . "\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "<!-- /SEO meta -->\n";
|
|
||||||
}, 1);
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
get_header();
|
|
||||||
$post_id = get_the_ID();
|
$post_id = get_the_ID();
|
||||||
$theme_uri = get_template_directory_uri();
|
$theme_uri = get_template_directory_uri();
|
||||||
$city = get_field( 'camp_city', $post_id ) ?: carbon_get_post_meta( $post_id, 'camp_city' ) ?: carbon_get_theme_option( 'site_city' ) ?: 'в Щёлково';
|
|
||||||
$city_clean = preg_replace( '/^в\s+/u', '', $city );
|
|
||||||
|
|
||||||
$priceMin = 1000000;
|
$priceMin = 1000000;
|
||||||
$programs = carbon_get_post_meta($post_id, 'programs' );
|
$programs = carbon_get_post_meta($post_id, 'programs' );
|
||||||
@ -83,54 +42,8 @@ $jsonld_img_id = carbon_get_post_meta( $post_id, 'banner_img' );
|
|||||||
$jsonld_img_url = $jsonld_img_id ? wp_get_attachment_url( $jsonld_img_id ) : '';
|
$jsonld_img_url = $jsonld_img_id ? wp_get_attachment_url( $jsonld_img_id ) : '';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<style>.hidden{display:none}</style>
|
|
||||||
<main class="camp container_camp">
|
<main class="camp container_camp">
|
||||||
|
|
||||||
<script type="application/ld+json">
|
|
||||||
<?php
|
|
||||||
$localbusiness = array(
|
|
||||||
'@type' => 'LocalBusiness',
|
|
||||||
'@id' => home_url('/') . '#localbusiness',
|
|
||||||
'name' => $jsonld_name,
|
|
||||||
'url' => get_permalink( $post_id ),
|
|
||||||
);
|
|
||||||
if ( $jsonld_phone ) $localbusiness['telephone'] = $jsonld_phone;
|
|
||||||
if ( $jsonld_mail ) $localbusiness['email'] = $jsonld_mail;
|
|
||||||
if ( $jsonld_img_url ) $localbusiness['image'] = $jsonld_img_url;
|
|
||||||
|
|
||||||
$localbusiness['address'] = array(
|
|
||||||
'@type' => 'PostalAddress',
|
|
||||||
'addressLocality' => $jsonld_city,
|
|
||||||
'streetAddress' => $jsonld_addr,
|
|
||||||
'addressCountry' => 'RU',
|
|
||||||
);
|
|
||||||
|
|
||||||
if ( ! empty( $jsonld_coord_arr[0] ) && ! empty( $jsonld_coord_arr[1] ) ) {
|
|
||||||
$localbusiness['geo'] = array(
|
|
||||||
'@type' => 'GeoCoordinates',
|
|
||||||
'latitude' => $jsonld_coord_arr[0],
|
|
||||||
'longitude' => $jsonld_coord_arr[1],
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
$localbusiness['areaServed'] = $city_clean . ', Московская область';
|
|
||||||
$localbusiness['openingHours'] = 'Mo-Fr 08:30-18:30';
|
|
||||||
|
|
||||||
$organization = array(
|
|
||||||
'@type' => 'Organization',
|
|
||||||
'@id' => home_url('/') . '#organization',
|
|
||||||
'name' => $jsonld_name,
|
|
||||||
'url' => home_url('/'),
|
|
||||||
);
|
|
||||||
if ( ! empty( $jsonld_social ) ) {
|
|
||||||
$organization['sameAs'] = $jsonld_social;
|
|
||||||
}
|
|
||||||
|
|
||||||
$graph = array( $localbusiness, $organization );
|
|
||||||
echo json_encode( array( '@context' => 'https://schema.org', '@graph' => $graph ), JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE );
|
|
||||||
?>
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -166,7 +79,6 @@ $metrics = [
|
|||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<section class="section-bg hero-media-search" data-bg="hero">
|
<section class="section-bg hero-media-search" data-bg="hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="hero-media-search__container">
|
<div class="hero-media-search__container">
|
||||||
@ -251,9 +163,9 @@ $metrics = [
|
|||||||
else :
|
else :
|
||||||
echo '<div class="about-us__image-placeholder">
|
echo '<div class="about-us__image-placeholder">
|
||||||
<svg width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
|
<svg width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5">
|
||||||
<rect x="3" y="3" width="18" height="18" rx="2"/>
|
<rect x="3" y="3" width="18" height="18" rx="2"></rect>
|
||||||
<circle cx="8.5" cy="8.5" r="1.5"/>
|
<circle cx="8.5" cy="8.5" r="1.5"></circle>
|
||||||
<path d="M21 15l-5-5L5 21"/>
|
<path d="M21 15l-5-5L5 21"></path>
|
||||||
</svg>
|
</svg>
|
||||||
<span>Добавьте фото</span>
|
<span>Добавьте фото</span>
|
||||||
</div>';
|
</div>';
|
||||||
@ -562,9 +474,9 @@ $metrics = [
|
|||||||
<div class="lw-modal__overlay"></div>
|
<div class="lw-modal__overlay"></div>
|
||||||
<div class="lw-modal__content">
|
<div class="lw-modal__content">
|
||||||
<button class="lw-modal__close" aria-label="Закрыть">
|
<button class="lw-modal__close" aria-label="Закрыть">
|
||||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M18 6L6 18M6 6l12 12" stroke="#fff" stroke-width="2" stroke-linecap="round"/></svg>
|
<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M18 6L6 18M6 6l12 12" stroke="#fff" stroke-width="2" stroke-linecap="round"></path></svg>
|
||||||
</button>
|
</button>
|
||||||
<img class="lw-modal__img" src="" alt="">
|
<img class="lw-modal__img" src="https://dev.dekart.school/wp-content/uploads/2025/04/placeholder.jpg" alt="Форма записи">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
@ -619,7 +531,7 @@ $metrics = [
|
|||||||
<div class="lw-stars lw-mt-8">
|
<div class="lw-stars lw-mt-8">
|
||||||
<?php for ($i = 1; $i <= 5; $i++) : ?>
|
<?php for ($i = 1; $i <= 5; $i++) : ?>
|
||||||
<svg class="lw-star <?php echo $i <= $stars ? 'lw-star--filled' : ''; ?>" width="16" height="16" viewBox="0 0 21 19" fill="none">
|
<svg class="lw-star <?php echo $i <= $stars ? 'lw-star--filled' : ''; ?>" width="16" height="16" viewBox="0 0 21 19" fill="none">
|
||||||
<path d="M9.58463 1.50884C9.89101 0.602477 11.1729 0.602476 11.4793 1.50884L13.1158 6.35007C13.2531 6.75637 13.6343 7.02985 14.0631 7.02985H19.2721C20.2504 7.02985 20.6467 8.28958 19.8447 8.84971L15.6995 11.7446C15.335 11.9991 15.1823 12.4636 15.3247 12.8847L16.9239 17.6158C17.233 18.5302 16.1954 19.3085 15.404 18.7559L11.1045 15.7533C10.7606 15.5131 10.3033 15.5131 9.95941 15.7533L5.65991 18.7559C4.86857 19.3085 3.83092 18.5302 4.14001 17.6158L5.73926 12.8847C5.8816 12.4636 5.72891 11.9991 5.36448 11.7446L1.21924 8.84971C0.417196 8.28958 0.813532 7.02985 1.79181 7.02985H7.00081C7.42969 7.02985 7.81081 6.75637 7.94815 6.35007L9.58463 1.50884Z" fill="currentColor"/>
|
<path d="M9.58463 1.50884C9.89101 0.602477 11.1729 0.602476 11.4793 1.50884L13.1158 6.35007C13.2531 6.75637 13.6343 7.02985 14.0631 7.02985H19.2721C20.2504 7.02985 20.6467 8.28958 19.8447 8.84971L15.6995 11.7446C15.335 11.9991 15.1823 12.4636 15.3247 12.8847L16.9239 17.6158C17.233 18.5302 16.1954 19.3085 15.404 18.7559L11.1045 15.7533C10.7606 15.5131 10.3033 15.5131 9.95941 15.7533L5.65991 18.7559C4.86857 19.3085 3.83092 18.5302 4.14001 17.6158L5.73926 12.8847C5.8816 12.4636 5.72891 11.9991 5.36448 11.7446L1.21924 8.84971C0.417196 8.28958 0.813532 7.02985 1.79181 7.02985H7.00081C7.42969 7.02985 7.81081 6.75637 7.94815 6.35007L9.58463 1.50884Z" fill="currentColor"></path>
|
||||||
</svg>
|
</svg>
|
||||||
<?php endfor; ?>
|
<?php endfor; ?>
|
||||||
</div>
|
</div>
|
||||||
@ -719,13 +631,13 @@ $metrics = [
|
|||||||
<div class="modal-programs" role="dialog" aria-modal="true" aria-label="Программа лагеря">
|
<div class="modal-programs" role="dialog" aria-modal="true" aria-label="Программа лагеря">
|
||||||
<div class="modal-programs__card">
|
<div class="modal-programs__card">
|
||||||
<button class="modal-programs__close btn-close-programs" aria-label="Закрыть">
|
<button class="modal-programs__close btn-close-programs" aria-label="Закрыть">
|
||||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M18 6L6 18M6 6l12 12" stroke="#fff" stroke-width="2" stroke-linecap="round"\/><\/svg>
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M18 6L6 18M6 6l12 12" stroke="#fff" stroke-width="2" stroke-linecap="round"></path></svg>
|
||||||
</button>
|
</button>
|
||||||
<div class="modal-programs__img">
|
<div class="modal-programs__img">
|
||||||
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3C/svg%3E" alt="">
|
<img src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3C/svg%3E" alt="">
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-programs__body">
|
<div class="modal-programs__body">
|
||||||
<h3 class="programs__item_title"></h3>
|
<?php if (!empty($programs_title)) : ?><h3 class="programs__item_title"><?php echo esc_html($programs_title); ?></h3><?php else : ?><p class="program-subtitle">Тема уточняется</p><?php endif; ?>
|
||||||
<p class="programs__item_price"></p>
|
<p class="programs__item_price"></p>
|
||||||
<div class="programs__content"></div>
|
<div class="programs__content"></div>
|
||||||
</div>
|
</div>
|
||||||
@ -938,7 +850,45 @@ if ( $agg_reviews->have_posts() ) {
|
|||||||
}
|
}
|
||||||
wp_reset_postdata();
|
wp_reset_postdata();
|
||||||
|
|
||||||
$ld_graph = array_merge( $ld_events, $ld_faq );
|
$localbusiness = array(
|
||||||
|
'@type' => 'LocalBusiness',
|
||||||
|
'@id' => home_url('/') . '#localbusiness',
|
||||||
|
'name' => $jsonld_name,
|
||||||
|
'url' => get_permalink( $post_id ),
|
||||||
|
);
|
||||||
|
if ( $jsonld_phone ) $localbusiness['telephone'] = $jsonld_phone;
|
||||||
|
if ( $jsonld_mail ) $localbusiness['email'] = $jsonld_mail;
|
||||||
|
if ( $jsonld_img_url ) $localbusiness['image'] = $jsonld_img_url;
|
||||||
|
|
||||||
|
$localbusiness['address'] = array(
|
||||||
|
'@type' => 'PostalAddress',
|
||||||
|
'addressLocality' => $jsonld_city,
|
||||||
|
'streetAddress' => $jsonld_addr,
|
||||||
|
'addressCountry' => 'RU',
|
||||||
|
);
|
||||||
|
|
||||||
|
if ( ! empty( $jsonld_coord_arr[0] ) && ! empty( $jsonld_coord_arr[1] ) ) {
|
||||||
|
$localbusiness['geo'] = array(
|
||||||
|
'@type' => 'GeoCoordinates',
|
||||||
|
'latitude' => $jsonld_coord_arr[0],
|
||||||
|
'longitude' => $jsonld_coord_arr[1],
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
$localbusiness['areaServed'] = $city_clean . ', Московская область';
|
||||||
|
$localbusiness['openingHours'] = 'Mo-Fr 08:30-18:30';
|
||||||
|
|
||||||
|
$organization = array(
|
||||||
|
'@type' => 'Organization',
|
||||||
|
'@id' => home_url('/') . '#organization',
|
||||||
|
'name' => $jsonld_name,
|
||||||
|
'url' => home_url('/'),
|
||||||
|
);
|
||||||
|
if ( ! empty( $jsonld_social ) ) {
|
||||||
|
$organization['sameAs'] = $jsonld_social;
|
||||||
|
}
|
||||||
|
|
||||||
|
$ld_graph = array_merge( array( $localbusiness, $organization ), $ld_events, $ld_faq );
|
||||||
if ( $agg_rating ) $ld_graph[] = $agg_rating;
|
if ( $agg_rating ) $ld_graph[] = $agg_rating;
|
||||||
|
|
||||||
if ( ! empty( $ld_graph ) ) {
|
if ( ! empty( $ld_graph ) ) {
|
||||||
|
|||||||
@ -21,11 +21,11 @@ $post_id = get_the_ID();
|
|||||||
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<meta itemprop="position" content="1" />
|
<meta itemprop="position" content="1">
|
||||||
</li>
|
</li>
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||||
<span class='last_item' itemprop="name"><?php the_title()?></span>
|
<span class='last_item' itemprop="name"><?php the_title()?></span>
|
||||||
<meta itemprop="position" content="2" />
|
<meta itemprop="position" content="2">
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="banner-wrapper">
|
<div class="banner-wrapper">
|
||||||
|
|||||||
@ -21,11 +21,11 @@ $post_id = get_the_ID();
|
|||||||
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<meta itemprop="position" content="1" />
|
<meta itemprop="position" content="1">
|
||||||
</li>
|
</li>
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||||
<span class='last_item' itemprop="name"><?php the_title()?></span>
|
<span class='last_item' itemprop="name"><?php the_title()?></span>
|
||||||
<meta itemprop="position" content="2" />
|
<meta itemprop="position" content="2">
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@ -18,11 +18,11 @@ $post_id = get_the_ID();
|
|||||||
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<meta itemprop="position" content="1" />
|
<meta itemprop="position" content="1">
|
||||||
</li>
|
</li>
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||||
<span class='last_item' itemprop="name"><?php the_title()?></span>
|
<span class='last_item' itemprop="name"><?php the_title()?></span>
|
||||||
<meta itemprop="position" content="2" />
|
<meta itemprop="position" content="2">
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@ -15,23 +15,10 @@ $current_term = $tags[0];
|
|||||||
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<meta itemprop="position" content="1" />
|
<meta itemprop="position" content="1">
|
||||||
</li>
|
<meta itemprop="position" content="2">
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
<meta itemprop="position" content="3">
|
||||||
<a itemprop="item" href="/cource/" title="все курсы">
|
<meta itemprop="position" content="4">
|
||||||
<span itemprop="name">Все курсы</span>
|
|
||||||
</a>
|
|
||||||
<meta itemprop="position" content="2" />
|
|
||||||
</li>
|
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
||||||
<a itemprop="item" href="/courses/<?php echo $current_term->slug; ?>/" title="<?php echo $current_term->name; ?>">
|
|
||||||
<span itemprop="name"><?php echo $current_term->name; ?></span>
|
|
||||||
</a>
|
|
||||||
<meta itemprop="position" content="3" />
|
|
||||||
</li>
|
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
||||||
<span class='last_item' itemprop="name"><?php echo get_the_title(); ?></span>
|
|
||||||
<meta itemprop="position" content="4" />
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
@ -19,17 +19,9 @@
|
|||||||
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
<path d="M11.6473 10.6896H12.1473V11.1896V15.4691H16.4353C16.5143 15.4691 16.5756 15.4462 16.6432 15.3788C16.7108 15.3113 16.7333 15.2505 16.7333 15.1725V9.36976L10.0513 3.8712L3.36922 9.36976V15.1725C3.36922 15.2505 3.39178 15.3113 3.45937 15.3788C3.52698 15.4462 3.5883 15.4691 3.66723 15.4691H7.95527V11.1896V10.6896H8.45527H11.6473ZM10.3711 1.74407L18.9226 8.86174L19.5643 8.09722L16.9141 5.8987L16.7333 5.74874V5.51388V0.537319H14.5413V2.86272V3.93127L13.7209 3.2466L10.6815 0.709949C10.5114 0.572829 10.3095 0.499981 10.0513 0.499981C9.79293 0.499981 9.59094 0.572914 9.42075 0.710194L0.538196 8.09712L1.17996 8.86174L9.73142 1.74407L10.0513 1.47783L10.3711 1.74407Z" fill="white" stroke="white"/>
|
||||||
</svg>
|
</svg>
|
||||||
</a>
|
</a>
|
||||||
<meta itemprop="position" content="1" />
|
<meta itemprop="position" content="1">
|
||||||
</li>
|
<meta itemprop="position" content="2">
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
<meta itemprop="position" content="3">
|
||||||
<a itemprop="item" href="/our-teachers/" title="Our Teacher">
|
|
||||||
<span itemprop="name">Все преподаватели</span>
|
|
||||||
</a>
|
|
||||||
<meta itemprop="position" content="2" />
|
|
||||||
</li>
|
|
||||||
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
||||||
<span class='last_item' itemprop="name"><?php the_title(); ?></span>
|
|
||||||
<meta itemprop="position" content="3" />
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user