/
page-info.php
34 lines (28 loc) · 910 Bytes
/
page-info.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
<?php get_header(); ?>
<main>
<article id="page-info" <?php post_class(); ?>>
<?php /* If there's introductory content */ ?>
<?php if( get_field('info_intro') ): ?>
<section id="intro-info">
<?php the_field('info_intro'); ?>
</section>
<?php endif; ?>
<?php /* Blizzard content */ ?>
<?php if( get_field('info_blizzard') ): ?>
<section id="info-blizzard">
<?php the_field('info_blizzard'); ?>
<div class="game-info">
<p class="toon-name">
<span class="wow-name">Name</span>, <span class="wow-race">Race</span> <span class="wow-class">Class</span><br>
Level <span class="wow-level"></span><br>
<span class="wow-realm">Realm</span><br>
Honorable Kills: <span class="wow-HKills"></span>
</p>
<div class="wow-thumbnail"></div>
</div>
</section>
<?php endif; ?>
</article>
</main>
<?php get_sidebar(); ?>
<?php get_footer(); ?>