Files
agroexpert/content-category-events-post.php
argoexpert press 51d7df598b delete adv
2024-05-06 12:02:48 +03:00

40 lines
2.2 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<? while ($posts->have_posts()) :
$posts->the_post();
?>
<div class="event-item">
<!-- <a href="<?= the_permalink() ?>">
<div class="event-item__image-container">
<?//= show_post_image(); ?>
<div class="event-item__heading">
<h2 class="event-item__title"><?= the_title() ?></h2>
<? if (!empty(get_field('subtitle'))) : ?><p class="event-item__subtitle"><?= get_field('subtitle') ?></p><? endif; ?>
</div>
</div>
</a>-->
<div class="event-item__text">
<!--<div class="event-item__description-block">
<h3 class="event-item__description-header subtitle-13">Организатор</h3>
<p class="event-item__description-text text-13"><?= get_field('organizer') ?></p>
</div>-->
<!--<div class="event-item__description-block">
<h3 class="event-item__description-header subtitle-13">Дата</h3>
<p class="event-item__description-text text-13"><?= get_field('event_date') ?></p>
</div>-->
<div class="event-item__description-block">
<h3 class="event-item__description-header subtitle-13" style="font-size: 1.2em;"><a href="<?= the_permalink() ?>"><?= the_title()?></a></h3>
</div>
<div class="event-item__description-block">
<h3 class="event-item__description-header subtitle-13">Место проведения</h3>
<p class="event-item__description-text text-13"><?= get_field('location') ?></p>
</div>
<div class="event-item__description-block">
<h3 class="event-item__description-header subtitle-13">О конференции</h3>
<p class="event-item__description-text text-13"><a href="<?= the_permalink() ?>"><? the_excerpt(); ?></a></p>
</div>
<div class="event-item__description-block">
<h3 class="event-item__description-header subtitle-13">Телефон</h3>
<p class="event-item__description-text text-13"><?= get_field('phone') ?></p>
</div>
</div>
</div>
<? endwhile; ?>