-
Notifications
You must be signed in to change notification settings - Fork 2
/
page-virtualwarmup.php
89 lines (50 loc) · 2.3 KB
/
page-virtualwarmup.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<?php
get_header();
wp_localize_script('countdownTimer', 'endTime', get_field('countdown_end_time', get_the_ID() ) );
wp_enqueue_script('countdownTimer');
?>
<a name="pagination-top"></a>
<?php
//@TODO Make a better system for these communities headers
$featureImage = $UWAA->UI->returnPostFeaturedImageURL(get_post_thumbnail_id($post->ID), 'original');
?>
<div class="uwaa-hero-image <?php echo get_post_meta(get_the_id(), 'mb_header_text_color', true); ?> " style="background-image:url('<?php $UWAA->UI->getPostFeaturedImageURL(get_post_thumbnail_id($post->ID), 'original')?>');"></div>
<div class="container uw-body">
<div class="row">
<div <?php uw_content_class(); ?> role='main' >
<?php if ($defaultHeader) { uw_site_title(); }; ?>
<?php include(locate_template( 'partials/sidebar-single-breadcrumbs.php')); ?>
<div id='main_content' class="uw-body-copy">
<?php
new \UWAA\View\Pagination('post', get_the_ID());
// Start the Loop.
while ( have_posts() ) : the_post();
?>
<h6 class="intro-head"> <?php echo get_post_meta($post->ID, 'mb_thumbnail_subtitle', true) ?></h6>
<h1>
<?php the_title() ?>
</h1>
<?php
/*
* Include the post format-specific template for the content. If you want to
* use this in a child theme, then include a file called called content-___.php
* (where ___ is the post format) and that will be used instead.
*/
if ( is_archive() )
the_excerpt();
else
the_content();
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) {
comments_template();
}
endwhile;
?>
<span class="next-page"><?php next_posts_link( 'Next page', '' ); ?></span>
</div>
</div>
<div class="col-md-4 uw-sidebar">
</div>
</div>
</div>
<?php get_footer(); ?>