-
Notifications
You must be signed in to change notification settings - Fork 4
/
footer.php
executable file
·39 lines (39 loc) · 1.2 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
</div><!-- .main -->
<?php
if ( ! is_page_template( 'full-width.php' ) ) {
get_sidebar( 'primary' );
}
?>
</div><!-- .overflow-container -->
<?php
// Elementor `footer` location
if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'footer' ) ) :
?>
<footer id="site-footer" class="site-footer" role="contentinfo">
<h1>
<a href="<?php echo esc_url( home_url() ); ?>">
<?php bloginfo( 'title' ); ?>
</a>
</h1>
<?php
if ( get_bloginfo( 'description' ) ) {
echo '<span class="tagline">' . esc_html( get_bloginfo( "description" ) ) . '</span>';
}
?>
<div class="design-credit">
<span>
<?php
$footer_text = get_theme_mod( 'ct_ignite_footer_text_setting' );
if ( empty( $footer_text ) ) {
$footer_text = sprintf( __( '<a target="_blank" href="%1$s" rel="nofollow">%2$s WordPress Theme</a> by Compete Themes.', 'ignite' ), 'https://www.competethemes.com/ignite/', wp_get_theme( get_template() ) );
}
echo do_shortcode( wp_kses_post( $footer_text ) );
?>
</span>
</div>
</footer>
<?php endif; ?>
<?php do_action( 'ct_ignite_body_bottom' ); ?>
<?php wp_footer(); ?>
</body>
</html>