-
Notifications
You must be signed in to change notification settings - Fork 0
/
on-tap.php
39 lines (37 loc) · 1.05 KB
/
on-tap.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
<?php
/**
* Template Name: On Tap Template
*
* @package WordPress
* @subpackage Superlous Nomenclature
*
*/
get_header(); ?>
<div class="page-header">
<div class="header-img-left"></div>
<div class="header-img-right"></div>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h1 class="display-3 text-center pg-title text-uppercase"><?php the_title(); ?></h1>
</div>
<main>
<div class="on-tap pb-5">
<div class="container-fluid">
<h4 class="text-center">Currently On Tap:</h4>
<div class="col-md-12">
<div id="wbwFrame" class="embed-responsive">
<iframe class="embed-responsive-item" src="https://wbwbeer.app/active_digital_menu?site=true"></iframe>
</div>
</div>
<div class="col-md-12 pt-5 text-center">
<?php the_content(); ?>
</div>
</div>
</div>
<?php if( ! is_page( array ('contact') ) ) {
get_template_part( 'parts/page', 'contact-us' );
}?>
<?php endwhile; else : ?>
<p><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
</main>
<?php get_footer(); ?>