/
footer.php
59 lines (41 loc) · 1.74 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
48
49
50
51
52
53
54
55
56
57
58
59
<?php
// Don't output the site footer on the Blank Canvas page template.
// The filter can be used to enable the blank canvas in different circumstances.
$blank_canvas = apply_filters( 'eksell_blank_canvas', is_page_template( array( 'page-templates/template-blank-canvas.php' ) ) );
$blank_canvas_with_aside = apply_filters( 'eksell_blank_canvas_with_aside', is_page_template( array( 'page-templates/template-blank-canvas-with-aside.php' ) ) );
// Output the site footer if we're not doing a blank canvas.
if ( ! ( $blank_canvas || $blank_canvas_with_aside ) ) :
?>
<footer id="site-footer">
<?php
do_action( 'eksell_footer_start' );
?>
<div class="footer-inner section-inner">
<?php
do_action( 'eksell_footer_inner_start' );
?>
<div class="footer-credits">
<p class="footer-copyright">© <?php echo esc_html( date_i18n( esc_html__( 'Y', 'eksell' ) ) ); ?> <a href="<?php echo esc_url( home_url() ); ?>" rel="home"><?php echo bloginfo( 'name' ); ?></a></p>
<p class="theme-credits color-secondary">
<?php
// Translators: $s = name of the theme developer.
printf( esc_html_x( 'Theme by %s', 'Translators: $s = name of the theme developer', 'eksell' ), '<a href="https://www.andersnoren.se">' . esc_html__( 'Anders Norén', 'eksell' ) . '</a>' ); ?>
</p><!-- .theme-credits -->
</div><!-- .footer-credits -->
<?php
/*
* @hooked eksell_the_footer_menu - 10
*/
do_action( 'eksell_footer_inner_end' );
?>
</div><!-- .footer-inner -->
<?php
do_action( 'eksell_footer_end' );
?>
</footer><!-- #site-footer -->
<?php
endif; // if ! $blank_canvas
wp_footer();
?>
</body>
</html>