-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
52 lines (43 loc) · 1.87 KB
/
footer.php
File metadata and controls
52 lines (43 loc) · 1.87 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
47
48
49
50
51
52
</main>
<footer class="bottom-footer">
<div class="footer-container">
<div class="footer-col-1">
<?php if ( get_field('footer_col_1_heading', 'option') ) : ?>
<h3><?php echo get_field('footer_col_1_heading', 'option'); ?></h3>
<?php endif; ?>
<?php if (get_the_author_meta('description')){
echo '<p>' . get_the_author_meta('description'). '</p>';
} else { ?>
<?php } ?>
<div class="social-links">
<a href="https://www.linkedin.com/in/matt-hummel/" aria-label="LinkedIn">
<ion-icon name="logo-linkedin"></ion-icon>
</a>
<a href="https://github.com/matthummeldev" aria-label="Twitter">
<ion-icon name="logo-github"></ion-icon>
</a>
</div>
</div>
<div class="footer-col-2">
<?php if ( get_field('footer_col_2_heading', 'option') ) : ?>
<h3><?php echo get_field('footer_col_2_heading', 'option'); ?></h3>
<?php endif; ?>
<?php wp_nav_menu(
array(
'container_id' => '',
'container_class' => 'menu-column p-0 ',
'menu_class' => 'footer-menu',
'theme_location' => 'primary',
'li_class' => '',
'fallback_cb' => false,
)
); ?>
</div>
</div>
<span class="footer-copyright">
© <a href="<?php echo esc_url(home_url()); ?>" class="hover:underline"><?php echo get_bloginfo('name') ?></a>
</span>
</footer>
<?php wp_footer(); ?>
</body>
</html>