forked from milohuang/reverie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
executable file
·133 lines (117 loc) · 6.17 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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?php /* abilitare per fullpage con footer incluso
<?php if( !is_home() && !is_page_template ( 'page.php' ) ){?>
</div><!-- end #fullpage / .page-wrapper -->
<?php } ?>
*/ ?>
<?php /* rimuovere per fullpage con footer incluso */ ?>
</div><!-- end .page-wrapper -->
<footer id="main-footer" class="full-width section fp-auto-height" role="contentinfo">
<!--
<div class="full-width footer-widget">
<div class="row">
<?php dynamic_sidebar("Footer"); ?>
</div>
</div>
-->
<!--
<div class="row">
<div class="large-12 columns">
<?php wp_nav_menu(array('theme_location' => 'utility', 'container' => false, 'menu_class' => 'inline-list')); ?>
</div>
</div>
-->
<div class="credits">
<div class="row" data-equalizer data-equalize-on="medium">
<div class="large-7 small-12 medium-8 columns">
<div class="o-tbl xlittle-bottom-padding" data-equalizer-watch>
<div class="o-tbl__row">
<div class="o-tbl__cell vertical-align-bottom">
<div class="text-center medium-text-left">
<?php
$indirizzo = get_field('indirizzo','options');
$indirizzo = explode( '<br />', $indirizzo);
//var_dump($indirizzo);
?>
<p class="uppercase">© <?php echo date('Y'); ?> <?php foreach($indirizzo as $k => $v){
echo trim($v);
echo ' ';
}?>| <?php _e('VAT ID','cerulean');?> <?php echo get_global_option('partita_iva'); ?><br>
<?php _e("Tel.","wpv-views"); ?> <?php echo get_global_option('telefono');?> |
<?php _e("Fax.","wpv-views"); ?> <?php echo get_global_option('fax');?> |
<a href="mailto:<?php echo get_global_option('email');?>" class="no-animation"><?php echo get_global_option('email');?></a>
</p>
<div>
<?php
if( function_exists('icl_get_languages') ){
$languages = icl_get_languages('skip_missing=0&orderby=custom');
if(count($languages) > 1 ){
?>
<?php
$k = 0 ;
foreach($languages as $language){
//echo $k;
if($k != 0 ) {
echo " | ";
}
//if($language['active'] != 1){ ?>
<a href="<?php echo $language['url'];?>">
<span class="" ><?php echo $language['native_name']; ?></span>
</a>
<?php //}
$k++;
}
}
} ?>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="credits" class="large-2 small-12 hide-for-medium-only columns text-center">
<div class="o-tbl xlittle-bottom-padding" data-equalizer-watch>
<div class="o-tbl__row">
<div class="o-tbl__cell ">
<a href="http://www.studioup.it/" title="Studio Up - Siti Web Milano"><strong>Studio Up - Realizzazione Siti Web Milano</strong></a>
</div>
</div>
</div>
</div>
<div class="large-3 medium-4 small-12 columns text-center medium-text-right">
<div class="o-tbl xlittle-bottom-padding" data-equalizer-watch>
<div class="o-tbl__row">
<div class="o-tbl__cell text-align-right social-sharer-container-tbl-cell vertical-align-bottom">
<div class="social-sharer-container text-left">
<div class="color-white like-h6"><?php _e('Follow us','cerulean'); ?></div>
<?php echo get_social_links() ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
<?php /* abilitare per fullpage con footer incluso
<?php if( is_home() || is_page_template ( 'page.php' ) ){?>
</div><!-- end #fullpage / .page-wrapper -->
<?php } ?>
*/ ?>
<div id="outdated">
<h6><?php _e('Your browser is out-of-date!','cerulean'); ?></h6>
<p><?php _e('Update your browser to view this website correctly.','cerulean'); ?>, <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/"><?php _e('Update my browser now','cerulean'); ?> </a></p>
<p class="last"><a href="#" id="btnCloseUpdateBrowser" title="<?php _e('Close','cerulean'); ?>">×</a></p>
</div>
<?php wp_footer(); ?>
<!--
<script>
//$('body');
(function($) {
//$(document).foundation();
//console.log('test')
})(jQuery);
</script>
-->
</div>
</body>
</html>