| 1 | <div class="footer-two"> |
|---|
| 2 | <?php do_action('gradiant_above_footer'); ?> |
|---|
| 3 | </div> |
|---|
| 4 | </div> |
|---|
| 5 | <!--===// Start: Footer |
|---|
| 6 | =================================--> |
|---|
| 7 | <?php |
|---|
| 8 | $appointo_footer_effect_enable = get_theme_mod('footer_effect_enable','1'); |
|---|
| 9 | ?> |
|---|
| 10 | <footer id="footer-section" class="footer-two footer-section <?php if($appointo_footer_effect_enable=='1'): echo esc_attr_e('footer-effect-active','appointo'); endif; ?>"> |
|---|
| 11 | <?php |
|---|
| 12 | $appointo_footer_middle_content = get_theme_mod('footer_widget_middle_content','<i class="fa fa-whatsapp"></i>'); |
|---|
| 13 | if(is_active_sidebar( 'gradiant-footer-1' ) || is_active_sidebar( 'gradiant-footer-2' ) || is_active_sidebar( 'gradiant-footer-3' )) { |
|---|
| 14 | ?> |
|---|
| 15 | <div class="footer-main"> |
|---|
| 16 | <div class="av-container"> |
|---|
| 17 | <div class="av-columns-area"> |
|---|
| 18 | <?php if ( is_active_sidebar( 'gradiant-footer-1' ) ) : ?> |
|---|
| 19 | <div class="av-column-6 col-md-6 mb-xl-0 mb-4 pr-md-5"> |
|---|
| 20 | <?php dynamic_sidebar( 'gradiant-footer-1'); ?> |
|---|
| 21 | </div> |
|---|
| 22 | <?php endif; ?> |
|---|
| 23 | <?php if ( is_active_sidebar( 'gradiant-footer-2' ) ) : ?> |
|---|
| 24 | <div class="av-column-3 col-md-6 mb-xl-0 mb-4 pl-md-5"> |
|---|
| 25 | <?php dynamic_sidebar( 'gradiant-footer-2'); ?> |
|---|
| 26 | </div> |
|---|
| 27 | <?php endif; ?> |
|---|
| 28 | <?php if ( is_active_sidebar( 'gradiant-footer-3' ) ) : ?> |
|---|
| 29 | <div class="av-column-3 col-md-6 mb-xl-0 mb-4"> |
|---|
| 30 | <?php dynamic_sidebar( 'gradiant-footer-3'); ?> |
|---|
| 31 | </div> |
|---|
| 32 | <?php endif; ?> |
|---|
| 33 | </div> |
|---|
| 34 | </div> |
|---|
| 35 | <?php if(!empty($appointo_footer_middle_content)): ?> |
|---|
| 36 | <div class="footer-info-overwrap"><div class="icon"><?php echo wp_kses_post($appointo_footer_middle_content); ?></div></div> |
|---|
| 37 | <?php endif; ?> |
|---|
| 38 | </div> |
|---|
| 39 | |
|---|
| 40 | <?php |
|---|
| 41 | } |
|---|
| 42 | $appointo_footer_first_img = get_theme_mod('footer_first_img',esc_url(get_template_directory_uri() .'/assets/images/logo2.png')); |
|---|
| 43 | if ( function_exists( 'gradiant_get_social_icon_default' ) ) : |
|---|
| 44 | $appointo_footer_social_icons = get_theme_mod('footer_social_icons',gradiant_get_social_icon_default()); |
|---|
| 45 | else: |
|---|
| 46 | $appointo_footer_social_icons = get_theme_mod('footer_social_icons'); |
|---|
| 47 | endif; |
|---|
| 48 | $appointo_copyright = get_theme_mod('footer_third_custom','Copyright © [current_year] [site_title] | Powered by [theme_author]'); |
|---|
| 49 | if(!empty($appointo_footer_first_img) || !empty($appointo_footer_social_icons) || !empty($appointo_copyright)) { |
|---|
| 50 | ?> |
|---|
| 51 | <div class="footer-copyright"> |
|---|
| 52 | <div class="av-container"> |
|---|
| 53 | <div class="av-columns-area"> |
|---|
| 54 | <div class="av-column-4 av-md-column-6 text-md-left text-center"> |
|---|
| 55 | <div class="widget-left"> |
|---|
| 56 | <?php if ( ! empty( $appointo_footer_first_img ) ){ ?> |
|---|
| 57 | <div class="logo"> |
|---|
| 58 | <a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="site-title"><img src="<?php echo esc_url($appointo_footer_first_img); ?>"></a> |
|---|
| 59 | </div> |
|---|
| 60 | <?php } ?> |
|---|
| 61 | </div> |
|---|
| 62 | </div> |
|---|
| 63 | <div class="av-column-4 av-md-column-6 text-md-center text-center"> |
|---|
| 64 | <div class="widget-center"> |
|---|
| 65 | <?php if( $appointo_footer_social_icons!='' ){ ?> |
|---|
| 66 | <aside class="share-toolkit widget widget_social_widget"> |
|---|
| 67 | <a href="#" class="toolkit-hover"><i class="fa fa-share-alt"></i></a> |
|---|
| 68 | <ul> |
|---|
| 69 | <?php |
|---|
| 70 | $appointo_footer_social_icons = json_decode($appointo_footer_social_icons); |
|---|
| 71 | foreach($appointo_footer_social_icons as $social_item){ |
|---|
| 72 | $social_icon = ! empty( $social_item->icon_value ) ? apply_filters( 'gradiant_translate_single_string', $social_item->icon_value, 'Footer section' ) : ''; |
|---|
| 73 | $social_link = ! empty( $social_item->link ) ? apply_filters( 'gradiant_translate_single_string', $social_item->link, 'Footer section' ) : ''; |
|---|
| 74 | ?> |
|---|
| 75 | <li><a href="<?php echo esc_url( $social_link ); ?>"><i class="fa <?php echo esc_attr( $social_icon ); ?>"></i></a></li> |
|---|
| 76 | <?php } ?> |
|---|
| 77 | </ul> |
|---|
| 78 | </aside> |
|---|
| 79 | <?php } ?> |
|---|
| 80 | </div> |
|---|
| 81 | </div> |
|---|
| 82 | <div class="av-column-4 av-md-column-6 text-av-right text-md-left text-center"> |
|---|
| 83 | <div class="widget-right"> |
|---|
| 84 | <?php |
|---|
| 85 | $appointo_copyright_allowed_tags = array( |
|---|
| 86 | '[current_year]' => date_i18n('Y'), |
|---|
| 87 | '[site_title]' => get_bloginfo('name'), |
|---|
| 88 | '[theme_author]' => sprintf(__('<a href="https://www.nayrathemes.com/appointo-free/" target="_blank">Appointo</a>', 'appointo')), |
|---|
| 89 | ); |
|---|
| 90 | ?> |
|---|
| 91 | <div class="copyright-text"> |
|---|
| 92 | <?php |
|---|
| 93 | echo apply_filters('gradiant_footer_copyright', wp_kses_post(gradiant_str_replace_assoc($appointo_copyright_allowed_tags, $appointo_copyright))); |
|---|
| 94 | ?> |
|---|
| 95 | </div> |
|---|
| 96 | </div> |
|---|
| 97 | </div> |
|---|
| 98 | </div> |
|---|
| 99 | </div> |
|---|
| 100 | </div> |
|---|
| 101 | <?php } ?> |
|---|
| 102 | </footer> |
|---|
| 103 | <!-- End: Footer |
|---|
| 104 | =================================--> |
|---|
| 105 | |
|---|
| 106 | <!-- ScrollUp --> |
|---|
| 107 | <?php |
|---|
| 108 | $appointo_hs_scroller = get_theme_mod('hs_scroller','1'); |
|---|
| 109 | if($appointo_hs_scroller == '1') : |
|---|
| 110 | ?> |
|---|
| 111 | <button type=button class="scrollup"><i class="fa fa-arrow-up"></i></button> |
|---|
| 112 | <?php endif; ?> |
|---|
| 113 | </div> |
|---|
| 114 | <?php |
|---|
| 115 | wp_footer(); ?> |
|---|
| 116 | </body> |
|---|
| 117 | </html> |
|---|