-
Notifications
You must be signed in to change notification settings - Fork 216
/
single-incarico.php
executable file
·73 lines (63 loc) · 2.47 KB
/
single-incarico.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
72
73
<?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 wysiwig-text">
<?php
the_content();
?>
</div>
</div>
<div class="row variable-gutters">
<?php if(dsi_get_option("show_contatore_commenti", "setup") != "false") { ?>
<div class="col-lg-12">
<?php
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</div>
<?php } ?>
</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();