forked from abukwaik/Radix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
57 lines (56 loc) · 2.37 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
<?php
/**
* The template for displaying the footer.
* Contains the closing of the #content main and all content after
*
* @package Radix
* @since Radix 1.0
*/
?>
<?php if( !is_page_template( 'page-fullwidth.php' ) ) { ?>
</div> <!-- row -->
</div> <!-- container -->
</div><!--/.main-content-area-->
<?php } ?>
</main><!--/#content-->
<?php if(ro_get_option('footer_display')) : ?>
<footer class="footer-wrapper">
<div class="container-fluid clearfix">
<div class="row-fluid">
<?php if(ro_get_option('footer_display')) : ?>
<div class="footer-content">
<?php dynamic_sidebar('footer-widget-1'); ?>
</div>
<?php endif; ?>
<?php if(ro_get_option('enable_footer_social')) : ?>
<?php Radix_footer_socials(); ?>
<?php endif; ?>
<?php if(ro_get_option('enable_copyright')) : ?>
<div class="copyrights-area clearfix" itemtype="http://schema.org/WPFooter" itemscope="itemscope" role="contentinfo">
<div class="row-fluid">
<div class="copyright-text col-md-6">
<?php _e( 'Copyright © ', 'radix' ); ?>
<span itemprop="copyrightYear">
<?php echo date( 'Y' ); ?>
</span>
<a href="<?php echo esc_url( home_url() ); ?>" itemprop="url"><span itemprop="copyrightHolder"><?php echo esc_attr( get_bloginfo( 'name' ) ); ?></span></a>
<?php _e( 'All rights reserved.', 'radix' ); ?>
</div>
<?php if ( has_nav_menu('footer-menu') && ro_get_option('enable_footer_menu')) : ?>
<nav class="footer-nav col-md-6" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement" role="navigation">
<?php Radix_footer_nav(); ?>
</nav>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
</div>
</div>
</footer>
<?php endif; ?>
<?php if(ro_get_option('scroll_to_top')): ?>
<a href="#" class="to-top"><i class="fa fa-arrow-up" aria-hidden="true"></i></a>
<?php endif; ?>
<?php wp_footer(); ?>
</body>
</html>