-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
executable file
·51 lines (51 loc) · 1.89 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
<?php
/**
* The template for displaying the footer.
*
* Contains footer content and the closing of the
* #main div element.
*
* @package Odin
* @since 2.2.0
*/
?>
<a href="#" id="button-search-map">
<span class="btn-text">
Buscar evento no mapa
</span>
</a>
<?php if ( ! isset( $_GET[ 'embed'] ) ) : ?>
<footer id="footer-container" class="col-md-12">
<span class="icon"></span>
<div class="col-md-12 footer-open text-center" data-open="false">
<?php if ( wp_is_mobile() ) : ?>
<span class="close-quem-apoia">
<?php _e( 'Fechar (x)', 'odin' );?>
</span>
<?php else : ?>
<h3><?php _e( 'Clique e veja quem apoia esse projeto', 'odin');?></h3>
<?php endif;?>
</div><!-- .col-md-12 footer-open -->
<div class="footer-toggle col-md-12">
<div class="container">
<div class="row">
<?php for ( $i = 1; $i < 5; $i++ ) : ?>
<?php $option_img = sprintf( 'apoiador_img_%s', $i );?>
<?php $option_link = sprintf( 'apoiador_link_%s', $i );?>
<?php if ( $value = get_theme_mod( $option_img, false ) ) : ?>
<a href="<?php echo get_theme_mod( $option_link, '#' );?>">
<img src="<?php echo $value;?>"/>
</a>
<?php endif;?>
<?php endfor;?>
</div><!-- .row -->
</div><!-- .container -->
<div class="col-md-12 text-center madewith">
<?php printf( __( 'Feito com <i class="fa fa-heart" aria-hidden="true"></i> amor e <a href="%s"><i class="fa fa-wordpress" aria-hidden="true"></i> WordPress</a> pela <a href="%s">Brasa.art.br</a>. Publicado sob licença GPL v2 no <a href="%s"><i class="fa fa-github" aria-hidden="true"></i> GitHub</a>', 'odin' ), 'https://wordpress.org', 'https://brasa.art.br', 'https://github.com/brasadesign/mapa-diadograffiti-theme/' );?>
</div><!-- .col-md-12 text-center madewith -->
</div><!-- .footer-toggle -->
</footer><!-- #footer-container -->
<?php endif;?>
<?php wp_footer(); ?>
</body>
</html>