-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-case-studies.php
66 lines (37 loc) · 2.19 KB
/
page-case-studies.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
<?php
/*
* Template Name: Case Studies
*
*
* This is a post template for full-width posts. Taken from single.php
*/
?>
<?php get_header(); ?>
<main id="main" class="main" role="main" itemscope itemprop="mainContentOfPage" itemtype="https://schema.org/Blog">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> role="article" itemscope itemprop="blogPost" itemtype="https://schema.org/BlogPosting">
<header class="article-header entry-header">
<?php get_template_part( 'templates/category-tags'); ?>
<h1 class="entry-title single-title" itemprop="headline" rel="bookmark"><?php the_title(); ?></h1>
<?php // Delete or comment out if you don't need this on your page or post. Edit in /templates/byline.php ?>
<?php // get_template_part( 'templates/byline'); ?>
</header> <?php // end article header ?>
<section class="entry-content" itemprop="articleBody">
<div class="featured-image">
<!-- <input type="checkbox" id="expand-toggle" /> -->
<label for="expand-toggle" id="expand-image"><?php the_post_thumbnail('full'); ?></label>
</div>
<?php the_content(); ?>
</section> <?php // end article section ?>
<footer class="article-footer">
</footer> <?php // end article footer ?>
<?php // comments_template(); ?>
</article> <?php // end article ?>
<?php endwhile; ?>
<?php else : ?>
<?php get_template_part( 'templates/404'); ?>
<?php endif; ?>
</main>
<?php // related posts function; uncomment below to use ?>
<?php // plate_related_posts(); ?>
<?php get_footer(); ?>