-
Notifications
You must be signed in to change notification settings - Fork 2
/
page-spring-2021-star-awards.php
executable file
·91 lines (54 loc) · 2.46 KB
/
page-spring-2021-star-awards.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
90
91
<?php
get_header();
wp_enqueue_script(array('starsAwardsSearch'));
?>
<div class="uw-hero-image star-awards">
<h2 class="star-site-title">Spring 2021 Advancement Star Awards</h2>
</div>
<div class="container-fluid uw-body">
<div class="row">
<div class="col-md-12 uw-content" role='main'>
<div class="uw-body-copy">
<?php
// Start the Loop.
while ( have_posts() ) : the_post();
/*
* 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.
*/
// get_template_part( 'content', 'star-awards' );
?>
<?php
// 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;
?>
<!-- Modernize This -->
<a href="<?php echo get_site_url('', '/star-awards')?>">See the current Star Awards</a></br>
<a href="<?php echo get_site_url('', '/spring-2020-star-awards')?>">See the Spring 2020 Star Awards</a></br>
<a href="<?php echo get_site_url('', '/fall-2020-star-awards')?>">See the Fall 2020 Star Awards</a></br>
<a href="<?php echo get_site_url('', '/spring-2020-star-awards')?>">See the Spring 2020 Star Awards</a></br>
<a href="<?php echo get_site_url('', '/fall-2021-star-awards')?>">See the Fall 2021 Star Awards</a></br>
<a href="<?php echo get_site_url('', '/spring-2022-star-awards')?>">See the Spring 2022 Star Awards</a></br>
<a href="<?php echo get_site_url('', '/fall-2022-star-awards')?>">See the Fall 2022 Star Awards</a>
<h2>Awardees</h2>
<div id="winner-cards">
<div class="grid">
<?php $UWAA->UI->makeStarAwardWinnerCards('spring2021'); ?>
</div>
</div>
<h2>Nominees</h2>
<input id="search" type=text placeholder="Find an Advancement star">
<div id="cards">
<div class ="grid">
<?php $UWAA->UI->makeStarAwardCards('spring2021'); ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>