-
Notifications
You must be signed in to change notification settings - Fork 1
/
untappd.php
40 lines (40 loc) · 1.36 KB
/
untappd.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
<?php
/**
* Template Name: Untappd App
*
* @package WordPress
* @subpackage crafted-brew-wordpress-theme
*
*/
get_header(); ?>
<div id="preloader">
<p class="text-center h5 loadtext">Blue Earl is loading...</p>
</div>
<script type="text/javascript">
!function(e,n){var t=document.createElement("script"),a=document.getElementsByTagName("script")[0];t.async=1,a.parentNode.insertBefore(t,a),t.onload=t.onreadystatechange=function(e,a){(a||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t=void 0,a||n&&n())},t.src=e}("https://embed-menu-preloader.untappdapi.com/embed-menu-preloader.min.js",function(){PreloadEmbedMenu("menu-container",15152,56532)});
</script>
<div class="container bierboard">
<div class="row">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<header>
<div class="col">
<h1 class="headerAlign text-white mb-5 text-uppercase"><?php the_title(); ?></h1>
</div>
</header>
</div>
<div class="row mt-5">
<div class="col-md-12">
<main>
<?php the_content(); ?>
<div id="menu-container"></div>
<br />
<?php the_tags('<span class="badge badge-primary mr-2">Related:</span> ' , ', ', ''); ?>
</main>
</div>
</div>
<?php endwhile; else : ?>
<p><?php esc_html_e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
</div>
</div>
<?php get_footer(); ?>