forked from hacklabcbba/Ciudadania-Activa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
37 lines (30 loc) · 1009 Bytes
/
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
<?php get_header();
$band_tit = "Blog"; ?>
<div id="blog" class="container-full">
<div class="container">
<div class="row hair">
<header class="col-sm-12"><h1 class="parent-tit"><?php echo $band_tit; ?></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(); ?>