/
footer.php
executable file
·64 lines (59 loc) · 2.12 KB
/
footer.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
<div class="menu-mobile-wrapper">
<div class="menu-mobile">
<form action="<?php echo home_url(); ?>" type="get">
<input type="text" class="search form-control" name="s" value="<?PHP echo get_search_query();?>" placeholder="Buscar...">
</form>
<?PHP
wp_nav_menu(array(
'theme_location' => 'header',
'menu' => 'header',
'container' => '',
'container_class' => '',
'container_id' => '',
'menu_class' => 'list-unstyled',
'menu_id' => 'header',
'echo' => true,
'fallback_cb' => '',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '<ul id="%1$s" class="%2$s">%3$s</ul>',
'depth' => -1,
'walker' => ''
));
?>
</div>
</div>
<div class="footer-wrapper">
<?php if ( is_active_sidebar( 'footer' ) ) : ?>
<div class="footer">
<div class="container">
<div class="row">
<?php dynamic_sidebar( 'footer' ); ?>
</div>
</div>
</div>
<?php else: ?>
<br />
<br />
<?php endif; ?>
<div class="license">
<div class="container">
<!--EMMGFX. Contenido con licencia general Creative Commons BY-SA, excepto en lo expresamente diferenciado.-->
<?PHP $footer_phrase = get_option('footer-phrase'); ?>
<?PHP if( $footer_phrase === false || empty($footer_phrase) ): ?>
<p><?PHP echo bloginfo('name')?>, <?PHP echo date('Y')?>. Theme <a href="https://github.com/emmgfx/material-for-coders" target="_blank">Material for Coders</a></p>
<?PHP else: ?>
<p><?PHP echo $footer_phrase?></p>
<?PHP endif; ?>
</div>
</div>
</div>
<script src="//cdnjs.cloudflare.com/ajax/libs/headroom/0.7.0/headroom.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/headroom/0.7.0/jQuery.headroom.min.js"></script>
<script src="<?PHP echo get_template_directory_uri(); ?>/assets/js/js.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<?php wp_footer(); ?>
</body>
</html>