-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-the-blogs.php
55 lines (47 loc) · 1.47 KB
/
single-the-blogs.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
<?php
/***
* The template for displaying individual blog posts (full article/blog post).
*
* @package parkland-theme
* @since 1.0.0
*/
//display header
get_header();
?>
<div class="single-blog-post-container">
<div class="single-blog-post-banner">
<div class="single-blog-post-wrap">
<h1>
SINGLE BLOG
<img src="/wp-content/themes/parkland-theme/images/banner-underline.png" alt="styled brush stroke">
</h1>
</div>
</div>
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<article <?php post_class();?> id="post-<?php the_ID();?>" >
<div class="individual-blog-heading" >
<div class="single-blog-post-top-box-item">
<?php the_title('<h2 class="entry-title">',
'<img src="/wp-content/themes/parkland-theme/images/brushstroke.svg" alt="styled brush stroke">',
'</h2>'); ?>
</div>
</div>
<div class="individual-blog-flex-container">
<div>
<?php the_field('blog_content'); ?>
</div>
</div>
</article>
<div class="page-change">
<div class="previous-page">
<?php previous_post_link('%link', 'Previous'); ?>
</div>
<div class="next-page">
<?php next_post_link('%link', 'Next'); ?>
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>
<?php get_footer(); ?>