-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
64 lines (50 loc) · 2.45 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
<?php
/**
* Name: Origines WordPress Theme
* GitHub URI: https://github.com/haroldparis/origines
* Description: Origines template for footer.
* Author: Harold Paris
* Twitter: @haroldparis
* Author website: http://www.tribeleadr.com/
*/
?>
<?php if ( is_active_sidebar( 'footer1' ) or is_active_sidebar( 'footer2' ) or is_active_sidebar( 'footer3' ) or is_active_sidebar( 'footer4' ) ) : ?>
<aside id="o-footer-top" class="container">
<hr />
<div id="o-footer-widget-wrapper" class="row">
<?php if ( is_active_sidebar( 'footer1' ) ) : ?>
<div class="o-footer-widget-area o-widget-area span<?php origines_footer_count_for_span(); ?>">
<?php dynamic_sidebar( 'footer1' ); ?>
</div>
<?php endif; ?>
<?php if ( is_active_sidebar( 'footer2' ) ) : ?>
<div class="o-footer-widget-area o-widget-area span<?php origines_footer_count_for_span(); ?>">
<?php dynamic_sidebar( 'footer2' ); ?>
</div>
<?php endif; ?>
<?php if ( is_active_sidebar( 'footer3' ) ) : ?>
<div class="o-footer-widget-area o-widget-area span<?php origines_footer_count_for_span(); ?>">
<?php dynamic_sidebar( 'footer3' ); ?>
</div>
<?php endif; ?>
<?php if ( is_active_sidebar( 'footer4' ) ) : ?>
<div class="o-footer-widget-area o-widget-area span<?php origines_footer_count_for_span(); ?>">
<?php dynamic_sidebar( 'footer4' ); ?>
</div>
<?php endif; ?>
</div> <!-- /#footer-widget-wrapper -->
</aside> <!-- /#o-footer-top -->
<?php endif; ?>
<footer id="o-footer-bottom" class="container">
<hr />
<div id="o-copyright" class="pull-left">
<p><small><?php _e('Copyright ©', 'origines') ?> <?php $the_year = date("Y"); echo $the_year; ?> <a href="<?php bloginfo('url');?>"><?php bloginfo('name'); ?></a> <?php _e('All Rights Reserved.', 'origines') ?></small></p>
</div>
<div id="o-links" class="pull-right">
<p><small><?php _e('Proudly Powered by', 'origines') ?> <a href="http://wordpress.org/" title="WordPress">WordPress</a>, <a href="http://twitter.github.com/bootstrap/" title="Bootstrap">Bootstrap</a> <?php _e('and', 'origines') ?> <a href="https://github.com/haroldparis/origines/" title="Themes WordPress">Origines</a> - <?php _e('Design by', 'origines') ?> <a href="http://www.tribeleadr.com/" title="Agence Social Media et Web à Orléans">TRIBELEADR</a></small></p>
</div>
</footer> <!-- /#o-footer-bottom -->
<!-- le WordPress footer functions -->
<?php wp_footer(); ?>
</body>
</html>