-
Notifications
You must be signed in to change notification settings - Fork 0
/
book-a-table.php
52 lines (22 loc) · 1.35 KB
/
book-a-table.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
<?php
/*Template Name: Book A Table Page*/
get_header();
?>
<?php
$telephone = get_field('telephone_number', 'option');
$book_a_table_image = get_field('book_a_table_image');
?>
<section class="u-displayTable [ top-section-wrapper ]">
<div class="top-section top-section--skin top-section--bkg top-section--bkg-findUs u-cf [ amberBorder ]" style="background-image: url('<?php echo get_bloginfo('template_directory');?>/images/book-a-table/book-a-table-illustration.png');">
<h2 class="u-margin-t-flush [ page-title ]"><?php echo get_the_title(); ?></h2>
<p>
For same day reservations please call the restaurant on
<span class="find-us-phone"><?php echo $telephone; ?></span>
<a class="find-us-mobile-phone u-inlineBlock" href="tel://<?php echo str_replace(' ', '', $telephone); ?>"><?php echo $telephone; ?></a>
or email us: <a class="u-textBreak" href="mailto:reservations@newmanstreettavern.co.uk?subject=48 Newman Street Reservation Enquiry">reservations@48newmanstreet.co.uk</a>
</p>
<?php include 'partials/booking-widget-book-a-table-page.php'; ?>
</div>
<div class="cover [ img-top-section ]" style="background-image: url('<?php echo $book_a_table_image['sizes']['386x543']; ?>')"></div>
</section>
<?php get_footer(); ?>