This repository has been archived by the owner on Jan 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathfooter.php
executable file
·55 lines (51 loc) · 2.04 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
<?php
/**
* The Footer for our theme.
*
* @package Adapt WordPress Theme
* @subpackage Templates
* @version 3.0.1
*/ ?>
</div><!-- /main -->
<div id="footer" class="clearfix">
<?php
// Display footer widgets if enabled
if ( '1' == wpex_get_data( 'widgetized_footer', '1' ) ) : ?>
<div id="footer-widget-wrap" class="wpex-row wpex-clr">
<div id="footer-one" class="wpex-col wpex-col-4 clearfix">
<?php dynamic_sidebar( 'footer-one' ); ?>
</div><!-- #footer-one -->
<div id="footer-two" class="wpex-col wpex-col-4 clearfix">
<?php dynamic_sidebar( 'footer-two' ); ?>
</div><!-- #footer-two -->
<div id="footer-three" class="wpex-col wpex-col-4 clearfix">
<?php dynamic_sidebar( 'footer-three' ); ?>
</div><!-- #footer-three -->
<div id="footer-four" class="wpex-col wpex-col-4 clearfix">
<?php dynamic_sidebar( 'footer-four' ); ?>
</div><!-- #footer-four -->
</div><!-- #footer-widget-wrap -->
<?php endif; ?>
<div id="footer-bottom" class="clearfix">
<div id="copyright">
<?php
// Display custom copyright text
if ( $footer_text = wpex_get_data( 'footer_text' ) ) : ?>
<?php echo do_shortcode( wp_kses_post( $footer_text ) ); ?>
<?php
// Display link to WPExplorer and WordPress if custom copyright isn't defined
// I would request you keep a link back to WPExplorer.com to show your appreciation
// Of course this is 100% optional - thanks!
else : ?>
WordPress Theme by <a href="http://www.wpexplorer.com/adapt-free-responsive-wordpress-theme/" title="Adapt Wordpress Theme" target="_blank">WPExplorer</a> Powered by <a href="https://wordpress.org/" title="WordPress" target="_blank">WordPress</a>
<?php endif; ?>
</div><!-- /copyright -->
<div id="back-to-top">
<a href="#toplink" class="scroll-top" title="<?php _e( 'Scroll Up', 'wpex-adapt' ); ?>"><?php _e( 'Scroll Up', 'wpex-adapt' ); ?> ↑</a>
</div><!-- #back-to-top -->
</div><!-- #footer-bottom -->
</div><!-- #footer -->
</div><!-- #wrap -->
<?php wp_footer(); ?>
</body>
</html>