<?php if (!is_front_page()) : ?>
    <div class="most-read content-right__most-read">
        <div class="most-read__inner">
            <p class="most-read__title subtitle-20">Самое читаемое</p>
            <div class="most-read__links">
                <?php get_template_part('partials/most-read-posts'); ?>
            </div>
        </div>
    </div>
<?php endif; ?>


<div class="subscribe-form">
    <p class="subscribe-form__title subtitle-20">
        Подписка на рассылку
    </p>
    <p class="subscribe-form__text text-13">
        Подпишитесь на нашу рассылку и будьте в курсе всех новостей
    </p>
    <?= do_shortcode('[contact-form-7 id="0ddb83c" title="Форма подписки" html_class="" html_id=""]') ?>
</div>

<?php get_template_part('partials/latest-legislation-posts'); ?>

<div class="banner-left desktop">
    <?php if (function_exists('banners_conf_display')) banners_conf_display('right_sidebar_banner_desktop_1'); ?>
</div>
<div class="banner-left mobile">
    <?php if (function_exists('banners_conf_display')) banners_conf_display('right_sidebar_banner_mobile_1'); ?>
</div>

<div class="banner-left desktop">
    <?php if (function_exists('banners_conf_display')) banners_conf_display('right_sidebar_banner_desktop_2'); ?>
</div>
<div class="banner-left mobile">
    <?php if (function_exists('banners_conf_display')) banners_conf_display('right_sidebar_banner_mobile_2'); ?>
</div>