-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
33 lines (26 loc) · 891 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
<?php get_header(); ?>
<section class="container ltco-py-2 ltco-py-md-4 ltco-py-lg-6">
<div class="row justify-content-between align-items-start mt-n5">
<section
id="ltco_posts"
class="ltco_blog col-12 mt-5 <?= ltco_has_sidebar('sidebar', 'col-lg-8'); ?>"
data-max-pages="<?= ltco_max_pages() ?>"
>
<?php if ( have_posts() ) : ?>
<div class="ltco_blog__lists row">
<?php if (!is_search()) get_template_part('components/featured-post'); ?>
<?php
while ( have_posts() ) : the_post();
get_template_part('components/posts/post');
endwhile;
?>
</div>
<?= ltco_button_more(); ?>
<?php else : ?>
<div class="alert alert-danger" role="alert">Nada encontrado</div>
<?php endif; ?>
</section>
<?php get_sidebar(); ?>
</div>
</section>
<?php get_footer(); ?>