-
Notifications
You must be signed in to change notification settings - Fork 1
/
archive.php
35 lines (29 loc) · 993 Bytes
/
archive.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
<?php get_header(); ?>
<div id="blog" class="container-full">
<div class="container">
<div class="row hair">
<header class="col-sm-12"><h1 class="parent-tit"><?php the_archive_title(); ?></h1></header>
</div>
<div class="row">
<div class="col-md-8 col-sm-8">
<?php if ( have_posts() ) {
while ( have_posts() ) : the_post();
get_template_part('loop-blog');
endwhile;
// Previous/next page navigation.
the_posts_pagination( array(
'prev_text' => '«',
'next_text' => '»',
'before_page_number' => '',
) );
} else { echo "No hay contenido."; } ?>
</div><!-- .col-md-8 .col-sm-8 -->
<?php if ( is_active_sidebar( 'blog_right' ) ) : ?>
<aside id="blog_right" class="widget-area col-md-4 col-sm-4" role="complementary">
<?php dynamic_sidebar( 'blog_right' ); ?>
</aside><!-- #blog_right -->
<?php endif; ?>
</div><!-- .row -->
</div><!-- .container -->
</div><!-- .container-full -->
<?php get_footer(); ?>