This repository was archived by the owner on Sep 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
92 lines (92 loc) · 2.67 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
<?php
/**
* The template for displaying the footer.
*
*
* @package Causes
*/
?>
<footer id="footer" class="footer">
<div class="widgets-block">
<div class="container">
<div class="column-container">
<div class="column-3-12">
<div class="gutter">
<?php if ( is_active_sidebar('footer-widget-area-1') ) : ?>
<?php dynamic_sidebar('footer-widget-area-1'); ?>
<?php else : ?>
<aside class="widget">
<h3 class="widget-title"><?php _e( 'Recent Posts', "causes" ); ?></h3>
<ul>
<?php wp_get_archives('type=postbypost&limit=10'); ?>
</ul>
</aside>
<?php endif; ?>
</div>
</div>
<div class="column-3-12">
<div class="gutter">
<?php if ( is_active_sidebar('footer-widget-area-2') ) : ?>
<?php dynamic_sidebar('footer-widget-area-2'); ?>
<?php else : ?>
<aside class="widget">
<h3 class="widget-title"><?php _e( 'Tag Cloud', "causes" ); ?></h3>
<div class="tagcloud">
<?php wp_tag_cloud(); ?>
</div>
</aside>
<?php endif; ?>
</div>
</div>
<div class="column-3-12">
<div class="gutter">
<?php if ( is_active_sidebar('footer-widget-area-3') ) : ?>
<?php dynamic_sidebar('footer-widget-area-3'); ?>
<?php else : ?>
<aside class="widget">
<h3 class="widget-title"><?php _e( 'Pages', "causes" ); ?></h3>
<ul>
<?php wp_list_pages('title_li='); ?>
</ul>
</aside>
<?php endif; ?>
</div>
</div>
<div class="column-3-12">
<div class="gutter">
<?php if ( is_active_sidebar('footer-widget-area-4') ) : ?>
<?php dynamic_sidebar('footer-widget-area-4'); ?>
<?php else : ?>
<aside class="widget">
<h3 class="widget-title"><?php _e( 'Categories', "causes" ); ?></h3>
<ul>
<?php wp_list_categories('title_li='); ?>
</ul>
</aside>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
<div class="copyright-block">
<div class="container">
<div class="column-container">
<div class="column-5-12">
<div class="gutter">
<p class="text-left"><?php echo sprintf( __('Copyright © 2017 %s All Rights Reserved.', 'causes'), get_bloginfo('name') );?></p>
</div>
</div>
<div class="column-7-12">
<div class="gutter">
<p class="text-right"><?php do_action( 'causes_display_credits' ); ?></p>
</div>
</div>
</div>
</div>
</div>
</footer>
</div>
<?php wp_footer(); ?>
</body>
</html>