-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpage_walkthrough.php
60 lines (38 loc) · 1.37 KB
/
page_walkthrough.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
<?php /* Template Name: Walkthrough */ ?>
<?php get_header('', array( 'body-classes' => 'walkthrough-page') ); ?>
<main>
<?php while ( have_posts() ) : the_post(); ?>
<header>
<h1><?php the_title(); ?></h1>
<!-- <span class="byline">by <a href="#">Marie Langley</a>, <a href="#">Marvau Laraugne</a></span> -->
<?php if (!class_exists('ACF')): ?>
<!-- display raw post_meta, if ACF not installed & activated -->
<p><?php echo get_post_meta( get_the_ID(), 'lead_in_copy', true ); ?></p>
<?php else : ?>
<!-- display ACF field, if ACF installed & activated -->
<p><?php the_field('lead_in_copy'); ?></p>
<?php endif; ?>
</header>
<!-- <aside>
<nav class="contextual-menu">
<h2>Registration</h2>
<ul>
<li><a href="#">How many hours of work does the Certificate course require?</a></li>
<li><a href="#">What do I get with the Certificate?</a></li>
</ul>
</nav>
<nav>
<h2>Course</h2>
<ul>
<li><a href="#">Does everyone participating in the course get a certificate?</a></li>
<li><a href="#">Can I represent Creative Commons once I am CC Certified?</a></li>
<li><a href="#">How Scholarships work?</a></li>
</ul>
</nav>
</aside> -->
<div class="content">
<?php the_content(); ?>
</div>
<?php endwhile; // end of the loop. ?>
</main>
<?php get_footer(); ?>