forked from trepmal/defenestrate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfooter.php
More file actions
23 lines (19 loc) · 703 Bytes
/
footer.php
File metadata and controls
23 lines (19 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<header class="page-footer">
<p><a href="<?php esc_url( home_url() ); ?>"><?php bloginfo(); ?></a></p>
<?php
$links = array();
foreach ( get_option( 'footer_links', array() ) as $network => $value ) {
$href = is_email( $value ) ? "mailto:$value" : $value;
$links[] = '<a href="'. esc_url( $href ) .'" class="genericon genericon-'. esc_attr( $network ) .'">'. esc_html( $network ) .'</a>';
}
if ( $links ) {
echo '<p>'. implode( ' ', $links ) .'</p>';
}
?>
<p class="little"><?php echo esc_html( get_bloginfo('description') ); ?></p>
<p><a href="#" class="genericon genericon-collapse back-to-top"></a></p>
</header>
<?php wp_footer(); ?>
</div>
</body>
</html>