forked from wpnepal/wpnepal-blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
43 lines (37 loc) · 1.42 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
<?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 WPNepal_Blog
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer" role="contentinfo">
<?php if ( has_nav_menu( 'footer' ) ) : ?>
<nav class="footer-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'wpnepal-blog' ); ?>">
<?php
wp_nav_menu( array(
'theme_location' => 'footer',
'menu_class' => 'footer-menu',
'depth' => 1,
) );
?>
</nav><!-- .footer-navigation -->
<?php endif; ?>
<div class="copyright">
<p><?php esc_attr_e( 'Copyright ©', 'wpnepal-blog' ); ?> <?php echo date_i18n( 'Y' ); ?> <?php printf( '<a class="site-link" href="%s" rel="home">%s</a>', esc_url( home_url( '/' ) ), get_bloginfo( 'name' ) ); ?></p>
</div><!-- .copyright -->
<div class="site-info">
<a href="<?php echo esc_url( __( 'https://wordpress.org/', 'wpnepal-blog' ) ); ?>"><?php printf( esc_html__( 'Proudly powered by %s', 'wpnepal-blog' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<?php printf( esc_html__( '%1$s by %2$s', 'wpnepal-blog' ), 'WPNepal Blog', 'WP Nepal' ); ?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
</html>