forked from italia/design-scuole-wordpress-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
executable file
·71 lines (61 loc) · 2.31 KB
/
page.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
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Design_Scuole_Italia
*/
get_header();
?>
<main id="main-container" class="main-container">
<?php get_template_part("template-parts/common/breadcrumb"); ?>
<?php
while ( have_posts() ) :
the_post();
set_views($post->ID);
?>
<section class="section bg-white">
<div class="container">
<div class="row variable-gutters">
<div class="col-md-12 article-title-author-container">
<div class="title-content">
<h1><?php the_title(); ?></h1>
</div><!-- /title-content -->
</div><!-- /col-md-6 -->
</div><!-- /row -->
</div><!-- /container -->
</section>
<section class="section bg-white">
<div class="container ">
<article class="article-wrapper">
<div class="row variable-gutters">
<div class="col-lg-12">
<?php
the_content();
?>
</div>
</div>
<div class="row variable-gutters">
<div class="col-lg-12">
<?php
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</div>
</div>
<div class="row variable-gutters">
<div class="col-lg-12">
<?php get_template_part( "template-parts/single/bottom" ); ?>
</div><!-- /col-lg-9 -->
</div><!-- /row -->
</article>
</div>
</section>
<?php
endwhile; // End of the loop.
?>
</main><!-- #main -->
<?php
get_footer();