/
inicio.php
84 lines (68 loc) · 2.33 KB
/
inicio.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
<?php
/*
Template Name: Inicio CICOM MX
*/
get_header();
?>
<section class="section-small">
<div class="container-fluid">
<div class="row">
<!-- Inicia custom -->
<div id="heroscreen_cicom" class="col">
<?php
$hero = new WP_Query(
array('page_id'=>'2088')//pagina 'bienvenida inicio'
);
while ($hero->have_posts()):
$hero->the_post();
?>
<!-- heroscreen -->
<div id="heroscreen_container" class="col">
<?php echo the_content(); ?>
</div>
<?php endwhile;?>
<!-- menu asociados -->
<div id="hero-menu" class="container-fluid">
<ul id="hero-menu-grid" class="row">
<?php
$socios = array('Asociaciónes','Medios','Academia','Anunciantes');
$iconos = array('users','play','graduation-cap','microphone');
$colores = array('--color-gray-1','--color-gray-2','--color-gray-3','--color-gray-4');
$links = array(get_page_link(2304),get_page_link(2310),get_page_link(2308),get_page_link(2306));
for ($i=0; $i < 4; $i++):
?>
<li class="hero-menu-item col-12 col-sm-6 col-md-3 text-center">
<a class="col-12" href="<?php echo $links[$i]; ?>" target="_blank" style="background-color: var(<?php echo $colores[$i]?>);">
<div class="hero-menu-item-txt col-12 ha">
<div class="col-12">
<i class="fa fa-<?php echo $iconos[$i];?>"></i>
</div>
<div class="col-12">
<?php echo $socios[$i]; ?>
</div>
</div>
</a>
</li>
<?php
endfor;
?>
</ul>
</div>
</div>
<br>
<!-- <hr> -->
<!-- fin custom -->
<div class="col-lg-12 col-md-12 col-sm-12 no-sidebar">
<?php
get_template_part( 'framework/content/page');
?>
</div>
<!-- -->
<div id="home-events" class="col-xs-12">
<?php get_template_part('framework/content/eventos'); ?>
</div>
</div>
</div>
</section>
<?php //the_posts_pagination( array('prev_text' => __('«'), 'next_text' => __('»'))) ?>
<?php get_footer('inicio'); ?>