<?php
/*
Template Name: Шаблон страницы рекламодателей
*/

$advertisers = new WP_Query([
    'post_type' => 'advertiser',
    'posts_per_page' => 10,
    'orderby' => 'date',
    'order' => 'ASC'
]);

?>

<?php get_header( 'en' ); ?>
<div class="content-middle articles-wrapper">
    <?php get_template_part('partials/rubrics-mobile'); ?>
    <div class="section-title">
        <h1 class="section-title__title"><?= the_title() ?></h1>
    </div>
    <div class="articles-preview">
    <div class="advert-item">
        <div class="advert-item__block">
            <p>For advertising on our web-site and social media:</p>
        </div>
                        <div class="advert-item__block">
                <h2 class="advert-item__block-title_margin-lg subtitle-18">Contacts</h2>
                <div class="advert-item__contacts">
                                                                        <div class="advert-item__contact-item">
                                <div class="advert-item__avatar-container"><img src="https://agroexpert.press/wp-content/uploads/2024/02/whatsapp-image-2024-02-29-at-18.52.25.jpeg" alt="" class="advert-item__contacts-avatar"></div>
                                <div class="advert-item__contact-info">
                                    <p class="advert-item__contact-phone subtitle-13">Tel.: <a href="tel:79265551264"> +7 (926) 555 12 64</a></p>
                                    <p class="advert-item__contact-email text-13"><a href="mailto:pr@agroexpert.press">pr@agroexpert.press</a></p>
                                </div>
                            </div>
                                                            </div>
            </div>
        </div>
    </div>
    <a href="<?= home_url() ?>/en" class="articles-preview__show-next">On top</a>
    <div class="articles__spacer-container">
        <div class="articles__spacer"></div>
        <div class="articles__spacer"></div>
    </div>
</div>

<?php
get_footer( 'en' ); ?>