-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.php
More file actions
54 lines (45 loc) · 1.03 KB
/
home.php
File metadata and controls
54 lines (45 loc) · 1.03 KB
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
<?php
/**
* The template for a single page
*
* @package WordPress
* @subpackage Kioru
*/
get_header(); ?>
<?php if (is_active_sidebar('header_blog')) : ?>
<div class="header_blog">
<?php dynamic_sidebar('header_blog'); ?>
</div>
<?php endif; ?>
<?php if (is_active_sidebar('top1')) : ?>
<div class="top1">
<?php dynamic_sidebar('top1'); ?>
</div>
<?php endif; ?>
<?php if (is_active_sidebar('top2')) : ?>
<div class="top2">
<div class="container">
<?php dynamic_sidebar('top2'); ?>
</div>
</div>
<?php endif; ?>
<div class="main blog">
<div class="container">
<div class="col-lg-12">
<?php
if ( have_posts() ) : while ( have_posts() ) : the_post();
get_template_part( 'content', get_post_format() );
endwhile; ?>
<nav>
<ul class="pager">
<li><?php next_posts_link( 'Previous' ); ?></li>
<li><?php previous_posts_link( 'Next' ); ?></li>
</ul>
</nav>
<?php
endif;
?>
</div>
</div>
</div>
<?php get_footer(); ?>