-
Notifications
You must be signed in to change notification settings - Fork 0
/
single.php
57 lines (34 loc) · 1.34 KB
/
single.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/*Default WP file to display a single post*/
get_header();
?>
<section class="[ amberBorder ] copy-only-section copy-only-section--skin u-cf">
<h2 class="u-margin-t-flush [ page-title ]">WHAT’S ON</h2>
<!-- SideBar -->
<aside class="sidebar-section u-cf">
<?php include 'partials/loops/blog-sidebar.php'; ?>
</aside>
<!-- End SideBar -->
<!-- Single Article -->
<section class="blog-section">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<article class="media-obj">
<div class="media-obj__img-div">
<?php the_post_thumbnail('235x235'); ?>
</div>
<div class="media-obj__body">
<h3 class="u-margin-t-flush [ page-title ] media-obj-body__title"><?php echo get_the_title(); ?></h3>
<div>
<?php the_content(); ?>
</div>
<a href="<?php echo get_permalink(107); ?>" class="btn btn--topSection borderDouble button-dark">Book Now</a>
<a href="<?php echo get_permalink(104); ?>" class="btn btn--topSection button-dark btn--back-to">Back to what's on</a>
</div>
</article>
<?php endwhile; ?>
<?php endif; ?>
</section>
<!-- End Single Article -->
</section>
<?php get_footer(); ?>