/
single-banda.php
138 lines (93 loc) · 3.76 KB
/
single-banda.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?php
get_header();
if( have_posts() ) : while( have_posts() ) : the_post();
?>
<div id="single-banda-offlimits" class="small-12 columns pl0">
<article class="small-12 columns p0">
<header class="small-12 columns p2 text-left">
<h1 class="text-center fontHuge font_sm_XXL txsh2 mt3">
<?php echo apply_filters('the_title', get_the_title() ); ?>
</h1>
</header>
<div id="single-banda-thumb" class="expanded row imgLiquidFill imgLiquid h_50vh w_100 mb1" >
<?php echo get_the_post_thumbnail(); ?>
</div>
<div id="single-banda-info">
<?php
$post_id = get_the_ID();
$banda_lugar_de_origen = get_post_meta($post_id, "banda-lugar_de_origen", true );
$banda_anno_formacion = get_post_meta($post_id, "banda-anno_formacion", true );
$banda_genero_musical = get_post_meta($post_id, "banda-genero_musical", true );
$banda_integrantes = get_post_meta($post_id, "banda-integrantes", true );
$banda_enlaces = get_post_meta($post_id, "banda-enlaces", true );
?>
<div class="columns medium-4 p4">
<div class="pb1 fontM">
<h6 class="mb0">Lugar de Origen:</h6>
<span class="m0 p0 fontX">
<?php echo $banda_lugar_de_origen; ?>
</span>
</div>
<div class="pb1 fontM">
<h6 class="mb0">Año de Conformación:</h6>
<span class="m0 p0 fontS">
<?php echo $banda_anno_formacion; ?>
</span>
</div>
<div class="pb1 fontM">
<h6 class="mb0">Género:</h6>
<span class="m0 p0 fontS">
<?php echo $banda_genero_musical; ?>
</span>
</div>
</div>
<div class="columns medium-4 p4">
<h6>Integrantes:</h6>
<ul class="listado">
<?php foreach( $banda_integrantes as $integrante ) : ?>
<li class="fontXS">
<?php echo $integrante; ?>
</li>
<?php endforeach; ?>
</ul>
</div>
<div class="columns medium-4 p4">
<h6>Enlaces:</h6>
<ul class="listado">
<?php foreach( $banda_enlaces as $enlace ) : ?>
<li class="fontXS">
<a href="<?php echo $enlace; ?>" target="_blank">
<?php echo $enlace; ?>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
<div id="single-banda-contenido" class="contenido small-12 medium-8 medium-offset-1 columns end columns fontRL text-left pt1">
<?php echo apply_filters('the_content', get_the_content() ); ?>
</div>
<!-- <div id="single-banda-compartir" class="small-12 columns p0 mb3">
<ul id="merch-colores" class="menu horizontal small-12 columns mt2" end>
<a href="">
<li class="small-12 columns p2 text-left fontRL bold p0">Comparte: </li>
</a>
<a href="">
<li class="small-3 columns p3 text-center "><i class="fa fa-facebook text-center vcenter fontRXL"></i></li>
</a>
<a href="">
<li class="small-3 columns p3 text-center "><i class="fa fa-twitter text-center vcenter fontRXL"></i></li>
</a>
<a href="">
<li class="small-3 columns p3 text-center"><i class="fa fa-instagram text-center vcenter fontRXL"></i></li>
</a>
<a href="">
<li class="small-3 columns p3 text-center "><i class="fa fa-reddit text-center vcenter fontRXL"></i></li>
</a>
</ul>
</div> -->
</article>
</div>
<?php
endwhile; endif;
get_footer();
?>