-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtag.php
57 lines (52 loc) · 1.17 KB
/
tag.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
53
54
55
56
<?php get_header(); ?>
<div class="content">
<div class="conteudo">
<div class="conteudo-titulo">
<div class="titulo">
<p>
<?php
echo "Tag: ";
single_cat_title('', true );
?>
</p>
</div>
</div>
<div class=clear></div>
<div class="conteudo-texto">
<?php echo category_description(); ?>
</div>
<div class="conteudo-postagem">
<ul>
<?php
//query_posts('showposts=4');
if (have_posts()):
while (have_posts()):
the_post();
echo '<li><a href="'.get_permalink();
echo'">';
echo "<span>".the_title()."</span>";
echo "</a></li>";
if(function_exists('the_tags')) {
echo '<div class="tags">';
the_tags('');
echo '</div>';
}
endwhile;
endif;
?>
</ul>
</div>
</div>
<?php
if(!is_category('agenda')){
echo '<div class="conteudo-categorias">';
get_sidebar();
echo '</div>';
}
?>
</div>
</div>
<?php if(is_category('agenda')): ?>
<img class=back_esq src=/wp-content/themes/sementeia-tema/images/agenda_esq.png />
<img class=back_dir src=/wp-content/themes/sementeia-tema/images/agenda_dir.png />
<?php endif; ?>