-
Notifications
You must be signed in to change notification settings - Fork 217
/
single-avcp.php
executable file
·57 lines (50 loc) · 2.04 KB
/
single-avcp.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
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Design_Scuole_Italia
*/
global $post;
$args = ["post", "evento", "circolare"];
get_template_part("template-parts/single/related-posts");
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">
<div class="row variable-gutters">
<div class="col-lg-12">
<article class="article-wrapper pt-4">
<div class="row variable-gutters">
<div class="col-lg-12 wysiwig-text">
<?php
the_content();
?>
</div><!-- /col-lg-8 -->
</div><!-- /row -->
</article>
</div><!-- /col-lg-8 -->
</div><!-- /row -->
</div><!-- /container -->
</section>
<?php get_template_part("template-parts/single/more-posts"); ?>
<?php endwhile; // End of the loop. ?>
</main><!-- #main -->
<?php
get_footer();