-
Notifications
You must be signed in to change notification settings - Fork 12
/
footer.php
executable file
·47 lines (42 loc) · 1.28 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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package Rookie
*/
$options = get_option( 'themeboy', array() );
if ( array_key_exists( 'logo_url', $options ) && ! empty( $options['logo_url'] ) ) {
$logo = $options['logo_url'];
$logo = esc_url( $logo );
}
?>
</div><!-- .content-wrapper -->
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<div class="footer-wrapper">
<div class="footer-area">
<div class="footer-inner">
<div id="quaternary" class="footer-widgets" role="complementary">
<?php for ( $i = 1; $i <= 3; $i++ ) { ?>
<div class="footer-widget-region"><?php dynamic_sidebar( sprintf( 'footer-%d', $i ) ); ?></div>
<?php } ?>
</div>
</div><!-- .footer-inner -->
</div><!-- .footer-area -->
</div><!-- .footer-wrapper -->
</footer><!-- #colophon -->
</div><!-- #page -->
<div class="site-info">
<div class="info-wrapper">
<div class="info-area">
<div class="info-inner">
<?php rookie_footer(); ?>
</div><!-- .info-inner -->
</div><!-- .info-area -->
</div><!-- .info-wrapper -->
</div><!-- .site-info -->
<?php wp_footer(); ?>
</body>
</html>