%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/cwg/wp-content/themes/cwg/
Upload File :
Create Path :
Current File : //var/www/cwg/wp-content/themes/cwg/single-fairs.php

<?php

get_header();

?>

<!----Should be placed when there is no carousel-->
<div class="js-headerGap h-[51px]"></div>

<?php
while (have_posts()) :
    the_post();
    $artists = get_field('artist');
    $title = get_the_title();
    $subtitle = get_field('booth');
    $city = get_city_from_label(get_field('location'));
    $mapsLink = get_field('maps_link');
    $textAdress = get_field('location');
    $catalogue = get_field('pdf') && get_field('pdf')['link'] ? get_field('pdf')['link'] : false;

    $selectionsOfWorks = get_field('featured_works');

    $selectionsOfJewellery = get_field('featured_jewellery');

    $moreEvents = get_field('more_events');

    $start_date = DateTime::createFromFormat('d/m/Y', get_field('start_date'));
    $end_date = DateTime::createFromFormat('d/m/Y', get_field('end_date'));
    $date = $start_date && $end_date ? $start_date->format('d F') . ' - ' . $end_date->format('d F Y') : '';
    $images_gallery = get_field('desktop_gallery');

    include(locate_template('/template-parts/events/focus-event.php'));
endwhile;
get_footer();

?>

Zerion Mini Shell 1.0