-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathfooter.php
More file actions
46 lines (35 loc) · 1.01 KB
/
footer.php
File metadata and controls
46 lines (35 loc) · 1.01 KB
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
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after.
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Hooch
*/
?>
</div><!-- #content -->
<footer class="footer" role="contentinfo">
<div class="footer-logo">
<?php if(get_theme_mod('site_logo')) {
echo '<img src="'. get_theme_mod('site_logo') . '" alt="'.get_bloginfo( 'name' ).'">';
} else { ?>
<img src="<?php bloginfo('template_url'); ?>/images/logo.png" alt="<?php bloginfo( 'name' ); ?>">
<?php } ?>
</div>
<div class="footer-links">
<?php dynamic_sidebar( 'footer-1' ); ?>
<?php dynamic_sidebar( 'footer-2' ); ?>
<?php dynamic_sidebar( 'footer-3' ); ?>
<?php dynamic_sidebar( 'footer-4' ); ?>
</div>
<hr>
<p class="site-info">
<?php echo get_theme_mod('footer_copyright_text') ?>
</p><!-- .site-info -->
</footer>
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>