-
Notifications
You must be signed in to change notification settings - Fork 0
/
inicio-mpi-team.php
108 lines (87 loc) · 3.14 KB
/
inicio-mpi-team.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
<?php
/*
Template Name: inicio MPI Team
*/
?>
<section id="inicio-team" class="container wpb_animate_when_almost_visible wpb_bottom-to-top bottom-to-top wpb_start_animation animated">
<h3 class="inicio-titulo col-12 text-center">Team MPI</h3>
<div class="row">
<div class="contenedor-slider col-xs-12 col-md-8">
<div id="inicio-slick-team" class="col-12">
<?php
$args = array('post_type' => 'mpi-team');
$q = new WP_Query($args);
if ($q->have_posts()):
while ($q->have_posts()): $q->the_post();
?>
<div class="incio-slick-team-slide col-12">
<article class="inicio-team-tarjeta col-8">
<div class="contenedor-tarjeta container-fluid">
<div class="col-12 team-tarjeta-wrap">
<a href="<?php echo get_the_permalink(); ?>" class="col-12 no-padding">
<div class="col-12 team-tarjeta-header">
<div class="wa tarjeta-header-fondo">
<div class="wa col-12 tarjeta-foto imgLiquid imgLiquidFill">
<img src="<?php echo the_field('mpi_team_foto_perfil'); ?>" alt="MPI Team">
</div>
</div>
</div>
<div class="col-12 tarjeta-datos">
<div class="row">
<div class="col-12">
<h5 class="col-12 tarjeta-nombre text-center">
<?php
echo the_field('mpi_team_nombre');
?>
</h5>
</div>
<div class="col-12">
<h6 class="col-12 tarjeta-puesto text-center">
<?php
echo the_field('mpi_team_puesto');
?>
</h6>
</div>
</div>
<!-- <ul class="row tarjeta-redes">
<li class="text-center justify-content-center align-item-center">
<a href="<?php //echo the_field('mpi_team_twitter'); ?>">
<i class="fa fa-twitter"></i>
</a>
</li>
<li class="text-center justify-content-center align-item-center">
<a href="<?php //echo the_field('mpi_team_facebook'); ?>">
<i class="fa fa-facebook"></i>
</a>
</li>
</ul> -->
</div>
</a>
</div>
</div>
</article>
</div>
<?php
endwhile;
else:
echo "No hay Miembros que mostrar para MPI";
endif;
?>
</div>
</div>
<div id="inicio-team-texto" class="col-xs-12 col-md-4">
<div class="row">
<!-- contenido de la pag 'inicio-team' -->
<div class="contenedor-slider ha col-12 my-auto text-center">
<?php
$args = array('page_id' => 6947);
$q = new WP_Query($args);
while ($q->have_posts()): $q->the_post();
echo the_content();
endwhile;
?>
</div>
</div>
</div>
</div>
</section>