-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patholdfooter.php
executable file
·100 lines (82 loc) · 3.4 KB
/
oldfooter.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
<?php
/**
* The template for displaying the footer.
*
* Contains footer content and the closing of the
* #main div element.
*
* @package Odin
* @since 2.2.0
*/
?>
<?php $odin_footer_opts = get_option( 'odin_footer' );?>
</div><!-- .row -->
</div><!-- #wrapper -->
<footer id="footer" class="container" role="contentinfo">
<div id="frases-footer" class="col-sm-5 pull-right">
<p><?php echo $odin_footer_opts['footer1'];?></p>
<p><?php echo $odin_footer_opts['footer2'];?></p>
<p><?php echo $odin_footer_opts['footer3'];?></p>
</div>
<div class="menu-footer col-sm-7 pull-left">
<nav class="sem-margem col-sm-6" role="navigation">
<?php
wp_nav_menu(
array(
'theme_location' => 'mapacol1-menu',
'depth' => 2,
'container' => false,
'menu_class' => 'nav navbar-nav',
'fallback_cb' => 'Odin_Bootstrap_Nav_Walker::fallback',
'walker' => new Odin_Bootstrap_Nav_Walker()
)
);
?>
</nav><!-- .navbar-collapse -->
<nav class="sem-margem col-sm-6" role="navigation">
<?php
wp_nav_menu(
array(
'theme_location' => 'mapacol2-menu',
'depth' => 2,
'container' => false,
'menu_class' => 'nav navbar-nav',
'fallback_cb' => 'Odin_Bootstrap_Nav_Walker::fallback',
'walker' => new Odin_Bootstrap_Nav_Walker()
)
);
?>
</nav><!-- .navbar-collapse -->
<div id="social" class="col-md-12">
<?php if ($odin_footer_opts['face']!=""){?>
<a target=_blank href="<?php echo $odin_footer_opts['face'];?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/face.png"> </a>
<?php }?>
<?php if ($odin_footer_opts['twitter']!=""){?>
<a target=_blank href="<?php echo $odin_footer_opts['twitter'];?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/twitter.png"> </a>
<?php }?>
<?php if ($odin_footer_opts['linkedin']!=""){?>
<a target=_blank href="<?php echo $odin_footer_opts['linkedin'];?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/linkedin.png"> </a>
<?php }?>
<?php if ($odin_footer_opts['flicker']!=""){?>
<a target=_blank href="<?php echo $odin_footer_opts['flicker'];?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/flicker.png"> </a>
<?php }?>
<?php if ($odin_footer_opts['google']!=""){?>
<a target=_blank href="<?php echo $odin_footer_opts['google'];?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/google.png"> </a>
<?php }?>
<?php if ($odin_footer_opts['youtube']!=""){?>
<a target=_blank href="<?php echo $odin_footer_opts['youtube'];?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/images/youtube.png"> </a>
<?php }?>
</div>
<div id="copyright" class="sem-margem col-sm-6">
<p>© <?php echo date( 'Y' ); ?> Ashoka </p>
</div>
<div id="apoio" class="sem-margem col-sm-6">
<p><?php echo __('Correalização:','odin')?></p>
<img class="inline-block" src="<?php echo get_template_directory_uri(); ?>/assets/images/logo-alana.png">
<img class="inline-block" src="<?php echo get_template_directory_uri(); ?>/assets/images/logo-ashoka.png">
</div>
</div>
</footer><!-- #footer -->
<?php wp_footer(); ?>
</body>
</html>