-
Notifications
You must be signed in to change notification settings - Fork 0
/
page-articles.php
67 lines (48 loc) · 2.05 KB
/
page-articles.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
<?php
/*
Template Name: Статьи
*
* This is your custom page template. You can create as many of these as you need.
* Simply name is "page-whatever.php" and in add the "Template Name" title at the
* top, the same way it is here.
*
* When you create your page, you can just select the template and viola, you have
* a custom page template to call your very own. Your mother would be so proud.
*
* For more info: http://codex.wordpress.org/Page_Templates
*/
?>
<?php get_header(); ?>
<div id="content" class="page-article">
<div id="inner-content" class="container cf">
<?php get_sidebar('articles'); ?>
<main id="main" class="col-md-8 cf homepage" role="main" itemscope itemprop="mainContentOfPage" itemtype="http://schema.org/Blog">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'cf' ); ?> role="article" itemscope itemtype="http://schema.org/BlogPosting">
<div class="breadcrumbs" typeof="BreadcrumbList" vocab="http://schema.org/">
<?php if(function_exists('bcn_display')) { bcn_display(); } ?>
</div>
<header class="article-header">
<h1 class="page-title"><?php the_title(); ?></h1>
</header>
<section class="entry-content cf" itemprop="articleBody">
<?php the_content(); ?>
</section>
</article>
<?php endwhile; else : ?>
<article id="post-not-found" class="hentry cf">
<section class="entry-content">
<h1><?php _e('Oops, Post Not Found!', 'bonestheme'); ?></h1>
</section>
</article>
<?php endif; ?>
</main>
<div class="feedback col-md-12">
<div class="feedback-man"></div>
<div class="feedback-title">У вас появился <span>вопрос?</span></div>
<div class="feedback-desc">немедленно задайте его нам!</div>
<?php echo do_shortcode( '[contact-form-7 id="20" title="Обратная связь"]' ); ?>
</div>
</div>
</div>
<?php get_footer(); ?>