-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfooter.php
78 lines (71 loc) · 2.11 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php
/**
* The template for displaying the footer
*
* Contains the closing of the "site-content" div and all content after.
*
* @author Kim-Christian Meyer <[email protected]>
* @package digitale-pracht
*/
?>
</div><!-- .site -->
<?php if ( is_active_sidebar( 'sidebar-bottom' ) ) : ?>
<div id="sidebar-bottom" class="widget-area widget-area-bottom ph-clearfix"
role="complementary">
<div class="grid-container has-no-title">
<?php dynamic_sidebar( 'sidebar-bottom' ); ?>
</div>
</div>
<?php endif; ?>
<footer class="ph-footer-wrapper site-footer" role="contentinfo">
<div class="ph-footer">
<div class="ph-footer-copyright">
<?php
/**
* Fires before the digitalepracht footer text for footer customization.
*/
do_action( 'digitalepracht_credits' );
?>
<?php printf(
wp_kses( __( 'Proudly powered by %s.', 'digitale-pracht' ), array(
'a' => array(
'href' => array(),
'target' => array(),
) )
),
'<a href="' . esc_url( __( 'https://wordpress.org', 'digitale-pracht' ) ) . '" target="_blank">' . __( 'WordPress', 'digitale-pracht' ) . '</a>'
); ?>
<?php printf(
wp_kses( __( 'Theme %1$s by %2$s.', 'digitale-pracht'), array(
'em' => array(),
'a' => array(
'href' => array(),
'target' => array(),
) )
),
'<em>' . __( 'digitale Pracht', 'digitale-pracht' ) . '</em>',
'<a href="' . esc_url( __( 'https://palasthotel.de', 'digitale-pracht' ) ) . '" target="_blank">' . __( 'Palasthotel', 'digitale-pracht' ) . '</a>'
); ?>
</div>
<?php if ( has_nav_menu( 'footer' ) ) : ?>
<nav class="ph-footer-nav no-print">
<?php
wp_nav_menu( array(
'theme_location' => 'footer',
'menu_class' => 'footer-menu',
'container' => '',
'depth' => 1,
) );
?>
</nav><!-- .main-navigation -->
<?php endif; ?>
</div>
</footer>
<?php if ( get_theme_mod( 'digitalepracht_show_reading_indicator', true ) === true ) : ?>
<div class="ph-indicator-wrapper no-print">
<div class="ph-indicator" id="indicator"></div>
</div>
<?php endif; ?>
<?php wp_footer(); ?>
</body>
</html>