<?php /** * The template for displaying the footer. * * Contains the closing of the #content div and all content after * * @package VW Charity NGO */ ?> <footer role="contentinfo"> <?php if (get_theme_mod('vw_charity_ngo_footer_hide_show', true)){ ?> <div class="copyright-wrapper footer"> <div class="container"> <?php $count = 0; if ( is_active_sidebar( 'footer-1' ) ) { $count++; } if ( is_active_sidebar( 'footer-2' ) ) { $count++; } if ( is_active_sidebar( 'footer-3' ) ) { $count++; } if ( is_active_sidebar( 'footer-4' ) ) { $count++; } // $count == 0 none if ( $count == 1 ) { $colmd = 'col-md-12 col-sm-12'; } elseif ( $count == 2 ) { $colmd = 'col-md-6 col-sm-6'; } elseif ( $count == 3 ) { $colmd = 'col-md-4 col-sm-4'; } else { $colmd = 'col-md-3 col-sm-3'; } ?> <div class="row"> <div class="<?php if ( !is_active_sidebar( 'footer-1' ) ){ echo "footer_hide"; }else{ echo "$colmd"; } ?> col-xs-12 footer-block"> <?php dynamic_sidebar('footer-1'); ?> </div> <div class="<?php if ( is_active_sidebar( 'footer-2' ) ){ echo "$colmd"; }else{ echo "footer_hide"; } ?> col-xs-12 footer-block"> <?php dynamic_sidebar('footer-2'); ?> </div> <div class="<?php if ( is_active_sidebar( 'footer-3' ) ){ echo "$colmd"; }else{ echo "footer_hide"; } ?> col-xs-12 col-xs-12 footer-block"> <?php dynamic_sidebar('footer-3'); ?> </div> <div class="<?php if ( !is_active_sidebar( 'footer-4' ) ){ echo "footer_hide"; }else{ echo "$colmd"; } ?> col-xs-12 footer-block"> <?php dynamic_sidebar('footer-4'); ?> </div> </div> </div> </div> <?php }?> <?php if (get_theme_mod('vw_charity_ngo_copyright_hide_show', true)) {?> <div class="inner footer-2"> <div class="copyright text-center"> <div class="container"> <p><?php vw_charity_ngo_credit(); ?> <?php echo esc_html(get_theme_mod('vw_charity_ngo_footer_text',__('By VWThemes','vw-charity-ngo'))); ?></p> <?php if(get_theme_mod('vw_charity_ngo_footer_icon',false) != false) {?> <?php dynamic_sidebar('footer-icon'); ?> <?php }?> <?php if( get_theme_mod( 'vw_charity_ngo_hide_show_scroll',true) == 1 || get_theme_mod( 'vw_charity_ngo_resp_scroll_top_hide_show',true) == 1) { ?> <?php $vw_charity_ngo_theme_lay = get_theme_mod( 'vw_charity_ngo_scroll_top_alignment','Right'); if($vw_charity_ngo_theme_lay == 'Left'){ ?> <a href="#" class="scrollup left"><i class="<?php echo esc_attr(get_theme_mod('vw_charity_ngo_scroll_to_top_icon','fas fa-long-arrow-alt-up')); ?>"></i><span class="screen-reader-text"><?php esc_html_e( 'Scroll Up', 'vw-charity-ngo' ); ?></span></a> <?php }else if($vw_charity_ngo_theme_lay == 'Center'){ ?> <a href="#" class="scrollup center"><i class="<?php echo esc_attr(get_theme_mod('vw_charity_ngo_scroll_to_top_icon','fas fa-long-arrow-alt-up')); ?>"></i><span class="screen-reader-text"><?php esc_html_e( 'Scroll Up', 'vw-charity-ngo' ); ?></span></a> <?php }else{ ?> <a href="#" class="scrollup"><i class="<?php echo esc_attr(get_theme_mod('vw_charity_ngo_scroll_to_top_icon','fas fa-long-arrow-alt-up')); ?>"></i><span class="screen-reader-text"><?php esc_html_e( 'Scroll Up', 'vw-charity-ngo' ); ?></span></a> <?php }?> <?php }?> </div> </div> <div class="clear"></div> </div> <?php }?> </footer> <?php wp_footer(); ?> </body> </html>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
css | Folder | 0777 |
|
|
images | Folder | 0777 |
|
|
inc | Folder | 0777 |
|
|
js | Folder | 0777 |
|
|
languages | Folder | 0777 |
|
|
page-template | Folder | 0777 |
|
|
template-parts | Folder | 0777 |
|
|
webfonts | Folder | 0777 |
|
|
woocommerce | Folder | 0777 |
|
|
404.php | File | 1.23 KB | 0777 |
|
archive.php | File | 7.8 KB | 0777 |
|
comments.php | File | 2.41 KB | 0777 |
|
footer.php | File | 4.42 KB | 0777 |
|
functions.php | File | 18.62 KB | 0777 |
|
header.php | File | 1.38 KB | 0777 |
|
image.php | File | 8.12 KB | 0777 |
|
index.php | File | 6.71 KB | 0777 |
|
inline-style.php | File | 47.07 KB | 0777 |
|
license.txt | File | 34.32 KB | 0777 |
|
no-results.php | File | 1.29 KB | 0777 |
|
page.php | File | 3.58 KB | 0777 |
|
readme.txt | File | 21.75 KB | 0777 |
|
rtl.css | File | 38.84 KB | 0777 |
|
screenshot.png | File | 178.96 KB | 0777 |
|
search.php | File | 10.04 KB | 0777 |
|
searchform.php | File | 652 B | 0777 |
|
sidebar.php | File | 993 B | 0777 |
|
single.php | File | 9.65 KB | 0777 |
|
style.css | File | 51.96 KB | 0777 |
|