/
footer.php
executable file
·57 lines (43 loc) · 1.34 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the id=main div and all content after
*
* @package WCBS
* @since WCBS 1.0
*/
?>
</div> <!-- #main -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div id="footer-widgets">
<?php foreach ( range( 1, 5 ) as $index ) : ?>
<?php
if ( ! is_active_sidebar( 'footer-' . $index ) ) {
continue;
}
?>
<div id="footer-widget-<?php echo esc_attr( $index ); ?>" class="footer-widgets-block">
<?php dynamic_sidebar( 'footer-' . $index ); ?>
</div>
<?php endforeach; ?>
</div>
<div class="site-info">
<?php do_action( 'wcbs_credits' ); ?>
<a class="site-info-generator" href="https://wordpress.org/" title="<?php esc_attr_e( 'A Semantic Personal Publishing Platform', 'wordcamporg' ); ?>" rel="generator">
<?php
// translators: %s is "WordPress".
printf( esc_html__( 'Proudly powered by %s', 'wordcamporg' ), 'WordPress' );
?>
</a>
<a class="site-info-network" href="https://central.wordcamp.org/">
<?php esc_html_e( 'Go to WordCamp Central', 'wordcamporg' ); ?>
</a>
<span role="separator" aria-hidden="true"></span>
<?php function_exists( 'the_privacy_policy_link' ) && the_privacy_policy_link(); ?>
</div>
</footer>
</div> <!-- #page -->
<?php wp_footer(); ?>
</body>
</html>