-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-blog.php
60 lines (55 loc) · 1.28 KB
/
single-blog.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
<?php
/**
* The template for displaying Blog item page
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages
* and that other 'pages' on your WordPress site may use a
* different template.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package poligon22
*/
get_header();
?>
<main id="main" class="is-main">
<section class="is-breadcrumbs">
<div class="container">
<div class="row">
<div class="col-lg-12">
<nav aria-label="breadcrumb">
<?php
if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb( '<ol style="margin-left:0px;" class="breadcrumb bc-yoast">','</ol>' );
}
?>
</nav>
</div>
</div>
</div>
</section>
<section class="is-pubs container-xxl container-xl container">
<div class="row">
<div class="col-lg-12">
<h3>Статьи</h3>
<h2>
<? the_title(); ?>
</h2>
<div class="info">
<p class="date">
<i class="fas fa-clock mr-2"></i>
<? the_date(); ?>
</p>
</div>
</div>
</div>
<div class="row mt-3">
<div class="col-lg-12 content">
<? the_content(); ?>
<? the_post_thumbnail(); ?>
</div>
</div>
</section>
<?php
get_footer();