Files
agroexpert/single-events.php

55 lines
2.4 KiB
PHP
Raw Normal View History

2024-03-01 17:47:03 +03:00
<?php get_header(); ?>
<?php
$categoryLink = get_queried_object()->slug;
?>
<div class="content-middle articles-wrapper">
<?php get_template_part('partials/rubrics-mobile'); ?>
<div class="section-title no-mobile-border">
<h1 class="section-title__title"><a href="<?= the_permalink(); ?>"></a><?= $post->post_title ?></a></h1>
</div>
<div class="event-single">
<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>
2024-05-06 12:02:48 +03:00
<!--<div class="event-item__description-block">
2024-03-01 17:47:03 +03:00
<h3 class="event-item__description-header subtitle-13">Дата</h3>
<p class="event-item__description-text text-13"><?= get_field('event_date') ?></p>
2024-05-06 12:02:48 +03:00
</div>-->
2024-03-01 17:47:03 +03:00
<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"><?= get_field('phone') ?></p>
</div>
<div class="event-item__description-block">
2024-05-06 12:02:48 +03:00
<h3 class="event-item__description-header subtitle-13">О мероприятии</h3>
2024-03-01 17:47:03 +03:00
<p class="event-item__description-text text-13"><? the_content(); ?></p>
</div>
</div>
2024-05-06 12:02:48 +03:00
<!--<div class="event-item__image-container">
<?//= show_post_image(); ?>
2024-03-01 17:47:03 +03:00
<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>
2024-05-06 12:02:48 +03:00
</div>-->
2024-03-01 17:47:03 +03:00
</div>
2024-05-06 12:02:48 +03:00
<a href="/events" class="articles-preview__show-next">Все мероприятия</a>
2024-03-01 17:47:03 +03:00
<div class="articles__spacer-container">
<div class="articles__spacer"></div>
<div class="articles__spacer"></div>
</div>
</div>
<?php
get_footer(); ?>