-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
52 lines (36 loc) · 1.39 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
<?php get_header(); // Inclui o header.php ?>
<?php get_sidebar(); // Inclui o sidebar.php ?>
<!-- Posts -->
<div class="span9">
<?php if (have_posts()) : while (have_posts()) : the_post() ?>
<!-- post -->
<div class="row-fluid posts">
<h2><a href="<?php the_permalink(); // Link do post ?>"><?php the_title(); // Título ?></a></h2>
<p class="muted">
<span>Publicado em</span>
<a rel="bookmark" href="<?php the_permalink(); // Link do post ?>">
<span><?php echo get_the_date(); // Data do Post ?></span>
</a>
</p>
<?php the_post_thumbnail('post-thumb'); ?>
<p><?php the_excerpt(); // Resumo do Post ?></p>
<p class="muted">
<span>Categoria</span>
<?php the_category(', '); ?>
|
<a rel="category" href="<?php comments_link(); ?>">
<?php comments_number('Sem comentários', '1 Comentário', '%s Comentários'); ?>
</a>
</p>
</div>
<!--/post -->
<?php
endwhile;
else:
get_template_part('sem-resultado');
endif;
pagination();
?>
</div><!--/span9-->
<?php
get_footer(); // Inclui o footer.php ?>