/
page-home.php
31 lines (26 loc) · 985 Bytes
/
page-home.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php get_header(); ?>
<div class="wrapper">
<div id="main">
<section id="mission">
<h2>Bellingham Circus Guild</h2>
<p>We are jugglers, acrobats, aerialists, stilters, clowns, myth makers, experimental multi-medium theatricalists, and so very much more.</p>
</section>
<?php $event = events_query()->random_post(); ?>
<?php if ($event) : _loop::load($post = $event); ?>
<section id="coming-soon" class="alert">
<h3>Coming Soon</h3>
<h4>to the Cirque Lab</h4>
<hr />
<a href="<?php the_permalink(); ?>">
<time class="highlight"><?php the_event_date(); ?></time>
/ <span class="description"><?php the_title(); ?></span>
<img src="<?= bloginfo('stylesheet_directory') ?>/images/arrow-yellow.png" />
</a>
</section>
<?php endif; _loop::reset(); ?>
<section class="user-content">
<?php the_content(); ?>
</section>
</div>
</div>
<?php get_footer(); ?>