26 lines
1023 B
PHP
26 lines
1023 B
PHP
<?php
|
|
|
|
// Хлебные крошки
|
|
|
|
if (! defined('ABSPATH')) {
|
|
exit;
|
|
}
|
|
|
|
$crumb_city = get_option('branch_city') ?: carbon_get_theme_option('site_city');
|
|
$crumb_name = 'Семейные классы' . ($crumb_city ? ' в ' . $crumb_city : '');
|
|
?>
|
|
<div class="container breadcrumbs-wrapper">
|
|
<ul class="breadcrumbs" itemscope itemtype="https://schema.org/BreadcrumbList" role="navigation" aria-label="Breadcrumb">
|
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
<a href="<?php echo esc_url(home_url('/')); ?>" itemprop="item" title="Главная">
|
|
<span itemprop="name">Главная</span>
|
|
</a>
|
|
<meta itemprop="position" content="1">
|
|
</li>
|
|
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
<span class="last_item" itemprop="name"><?php echo esc_html($crumb_name); ?></span>
|
|
<meta itemprop="position" content="2">
|
|
</li>
|
|
</ul>
|
|
</div>
|