-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
88 lines (72 loc) · 2.22 KB
/
index.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?php
get_header();
?>
<!-- Content
============================================= -->
<section id="content">
<div class="content-wrap">
<div class="section header-stick bottommargin-lg clearfix" style="padding: 20px 0;">
<div>
<div class="container clearfix">
<span class="badge badge-danger bnews-title">Breaking News:</span>
<div class="fslider bnews-slider nobottommargin" data-speed="800" data-pause="6000"
data-arrows="false"
data-pagi="false">
<div class="flexslider">
<div class="slider-wrap">
<div class="slide"><a href="#"><strong>Lorem ipsum dolor sit amet, consectetur
adipisicing elit.
</strong></a></div>
<div class="slide"><a href="#"><strong>Lorem ipsum dolor sit amet, consectetur
adipisicing elit.
</strong></a></div>
<div class="slide"><a href="#"><strong>Lorem ipsum dolor sit amet, consectetur
adipisicing elit.
</strong></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container clearfix">
<!-- Post Content
============================================= -->
<div class="postcontent nobottommargin clearfix">
<!-- Posts
============================================= -->
<div id="posts">
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
/*get_template_part('partials/post/content-excerpt');*/
get_template_part( 'partials/post/content', 'excerpt' );
endwhile;
endif;
?>
</div><!-- #posts end -->
<!-- Pagination
============================================= -->
<div class="row mb-3">
<div class="col-12">
<?php
next_posts_link( '← Older' );
previous_posts_link( 'Newer →' );
?>
<!--<a href="#" class="btn btn-outline-secondary float-left">
← Older
</a>
<a href="#" class="btn btn-outline-dark float-right">
Newer →
</a>-->
</div>
</div>
<!-- .pager end -->
</div><!-- .postcontent end -->
<?php get_sidebar(); ?>
</div>
</div>
</section><!-- #content end -->
<?php
get_footer();