zZzzZ.
home2
/
zrzvbdry
/
wiredsave.com
/
wp-content
/
themes
/
savings-pro-main
New Folder
Editing: footer.php
Save
Cancel
<?php /** * The template for displaying the footer. * * Contains the closing of the #content div and all content after * * @package WP Coupon */ global $st_option; ?> </div> <!-- END .site-content --> <?php // check if header login btn is enable $is_enable_footer_btn = wpcoupon_get_option( 'footer_widgets', true ); if ($is_enable_footer_btn) { if ( is_active_sidebar( 'footer-1' ) ){ ?> <footer id="colophon" class="site-footer <?php echo ( $st_option['footer_widgets'] ) ? 'footer-widgets-on' : 'footer-widgets-off' ?>" role="contentinfo"> <div class="container"> <?php if ( wpcoupon_get_option( 'footer_widgets' ) ) { $footer_columns = wpcoupon_get_option( 'footer_columns', 4 ); $layouts = 16; if ( $footer_columns > 1 ){ $layouts = wpcoupon_get_option( 'footer_columns_layout_'.$footer_columns ); } $layouts = explode( '+', $layouts ); foreach ( $layouts as $k => $v ) { $v = absint( trim( $v ) ); $v = $v >= 16 ? 16 : $v; $layouts[ $k ] = $v; } ?> <div class="footer-widgets-area"> <div class="sidebar-footer footer-columns stackable ui grid clearfix"> <?php for ($count = 0; $count < $footer_columns; $count++) { ?> <div id="footer-<?php echo esc_attr( $count +1 ) ?>" class="<?php echo esc_attr( wpcoupon_number_to_column_class( $layouts[ $count ] ) ); ?> wide column footer-column widget-area" role="complementary"> <?php dynamic_sidebar('footer-' . ( $count +1 ) ); ?> </div> <?php } ?> </div> </div> <?php } ?> </div> </footer><!-- END #colophon--> <?php } } ?> <?php // if ( is_active_sidebar( 'newsletter-area' ) ){ echo '<div class="newsletter-widgets newsletter-area"><div class="container">'; dynamic_sidebar( 'newsletter-area' ); echo '</div></div>'; } ?> <!-- Footer copyright Section --> <div class="site-footer footer-copyright-section"> <div class="container"> <div class="footer_copy"> <div class="footer-logo" style="max-width: 150px;"> <?php if ( wpcoupon_get_option('footer_logo', false, 'url') != '' ) { ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <img src="<?php echo wpcoupon_get_option('footer_logo', false, 'url'); ?>" alt="<?php echo get_bloginfo( 'name' ) ?>" /> </a> <?php } else { ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <img src="<?php echo get_template_directory_uri() . '/assets/images/logo.png' ?>" alt="<?php echo get_bloginfo( 'name' ) ?>" /> </a> <?php } ?> </div> <div class="cpy_text"> <?php echo '<span>'; if ( wpcoupon_get_option('footer_copyright') == '' ) { printf( esc_html__( 'Copyright © %1$s %2$s. All Rights Reserved. ', 'savings-pro' ), esc_attr(date('Y')), get_bloginfo('name') ); } else { echo wp_kses_post( wpcoupon_get_option('footer_copyright') ); } echo '</span>'; if ( wpcoupon_get_option('enable_footer_author') ) { echo '<span>'.sprintf( esc_html__( 'Savings Pro Theme by %s', 'savings-pro' ), '<a href="https://couponthemes.net">CouponThemes</a>' ).'</span>' ; } ?> </div> <?php if ( wpcoupon_get_option('enable_footer_social') ) { ?> <div class="footer-social"> <ul> <?php if ( wpcoupon_get_option('fblink') != '' ) { ?> <li><a href="<?php echo esc_url(wpcoupon_get_option('fblink')); ?>"><i class="facebook f icon"></i></a></li> <?php } ?> <?php if ( wpcoupon_get_option('twlink') != '' ) { ?> <li><a href="<?php echo esc_url(wpcoupon_get_option('twlink')); ?>"><i class="twitter icon"></i></a></li> <?php } ?> <?php if ( wpcoupon_get_option('ytlink') != '' ) { ?> <li><a href="<?php echo esc_url(wpcoupon_get_option('ytlink')); ?>"><i class="youtube f icon"></i></a></li> <?php } ?> <?php if ( wpcoupon_get_option('inlink') != '' ) { ?> <li><a href="<?php echo esc_url(wpcoupon_get_option('inlink')); ?>"><i class="linkedin icon"></i></a></li> <?php } ?> <?php if ( wpcoupon_get_option('instalink') != '' ) { ?> <li><a href="<?php echo esc_url(wpcoupon_get_option('instalink')); ?>"><i class="instagram icon"></i></a></li> <?php } ?> <?php if ( wpcoupon_get_option('pinlink') != '' ) { ?> <li><a href="<?php echo esc_url(wpcoupon_get_option('pinlink')); ?>"><i class="pinterest p icon"></i></a></li> <?php } ?> </ul> </div> <?php } ?> <!-- <nav id="footer-nav" class="site-footer-nav"> <?php //wp_nav_menu( array( 'container' => false, 'theme_location' => 'footer', 'fallback_cb' => false ) ); ?> </nav> --> </div> </div><!-- END container --> </div><!-- END Copyright Section --> </div><!-- END #page --> <?php wp_footer(); ?> </body> </html>