-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag.php
99 lines (65 loc) · 1.91 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
get_header();
?>
<section id="content" class="content columns small-12 large-9 h-a">
<div class="columns p-t-1 p-0">
<!-- -->
<div class="bread columns p-0-2 h-10">
<?php
get_template_part('secciones/general/breadcrumbs')
?>
</div>
<!-- -->
<div id="encabezado-categoria" class="columns small-12 p-1 h-a">
<div class="columns text-center p-0 font-s font-md-s font-lg-m">
<?php
echo "Estas son las estradas relacionadas con la etiqueta:";
?>
</div>
<h3 class="columns text-center font-light p-0">
<?php echo single_cat_title(); ?>
</h3>
<div class="columns text-left p-0 font-s font-md-s font-lg-m">
<?php
echo "Lista de Categorias como tags";
?>
</div>
</div>
<div class="columns p-l-0 p-r-0 p-t-2 p-b-2 h-a">
<?php
if ( have_posts() ):
while ( have_posts() ): the_post();
?>
<div class="columns p-t-1 p-b-1 small-12 medium-6 h-a end">
<a class="columns p-0 h-a card p-0-3" href="<?php echo get_the_permalink();?>">
<div class="columns p-0 imgLiquid imgLiquidFill h-45-v h-md-40-v">
<?php echo get_the_post_thumbnail(); ?>
</div>
<div class="columns p-t-1 p-l-0 p-r-0 h-50">
<h5 class="columns p-0 h-a font-light">
<?php
echo get_the_title();
?>
</h5>
<div class="columns p-0 h-a font-xs font-light">
<?php
echo get_the_date();
?>
</div>
<div class="columns p-0 p-t-1 h-a font-s font-sm-m font-md-s">
<?php
echo excerpt(28,'... Ver mas');
?>
</div>
</div>
</a>
</div>
<?php
endwhile;
endif;
?>
</div>
</div>
</section>
<?php
get_footer();