-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.php
45 lines (26 loc) · 1.12 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
<?php get_header(); ?>
<div class="fl-archive container">
<div class="row">
<?php FLTheme::sidebar('left'); ?>
<div class="fl-content <?php FLTheme::content_class(); ?>" itemscope="itemscope" itemtype="http://schema.org/Blog">
<?php FLTheme::archive_page_header(); ?>
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<?php get_template_part('content', get_post_format()); ?>
<?php endwhile; ?>
<!-- // Not using the older nav links
<?php FLTheme::archive_nav(); ?> -->
<?php
the_posts_pagination( array(
'prev_text' => '« Previous' . '<span class="screen-reader-text">' . __( 'Previous page', 'wpb' ) . '</span>',
'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'wpb' ) . '</span>' . 'Next »',
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'wpb' ) . ' </span>',
) ); ?>
<?php else : ?>
<?php get_template_part('content', 'no-results'); ?>
<?php endif; ?>
</div>
<?php FLTheme::sidebar('right'); ?>
</div>
</div>
<?php get_footer(); ?>