Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
home
/
puskom
/
mastur
/
newsup
/
//home/puskom/mastur/newsup/footer.php
<?php /** * The template for displaying the footer. * * Contains the closing of the #content div and all content after. * * @package Newsup */ $you_missed_enable = esc_attr(get_theme_mod('you_missed_enable','true')); if($you_missed_enable == true){ ?> <div class="container-fluid mr-bot40 mg-posts-sec-inner"> <div class="missed-inner"> <div class="row"> <?php $you_missed_title = get_theme_mod('you_missed_title', esc_html('You missed','newsup')); if($you_missed_title) { ?> <div class="col-md-12"> <div class="mg-sec-title"> <!-- mg-sec-title --> <h4><?php echo esc_html($you_missed_title); ?></h4> </div> </div> <?php } $newsup_you_missed_loop = new WP_Query(array( 'post_type' => 'post', 'posts_per_page' => 4, 'order' => 'DESC', 'ignore_sticky_posts' => true)); if ( $newsup_you_missed_loop->have_posts() ) : while ( $newsup_you_missed_loop->have_posts() ) : $newsup_you_missed_loop->the_post(); $url = newsup_get_freatured_image_url($post->ID, 'newsup-featured'); ?> <!--col-md-3--> <div class="col-lg-3 col-md-6 pulse animated"> <div class="mg-blog-post-3 minh back-img mb-lg-0" <?php if(has_post_thumbnail()) { ?> style="background-image: url('<?php echo esc_url($url); ?>');" <?php } ?>> <a class="link-div" href="<?php the_permalink(); ?>"></a> <div class="mg-blog-inner"> <div class="mg-blog-category"> <?php newsup_post_categories(); ?> </div> <h4 class="title"> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute( array('before' => 'Permalink to: ','after' => '') ); ?>"> <?php the_title(); ?></a> </h4> <?php newsup_post_meta(); ?> </div> </div> </div> <!--/col-md-3--> <?php endwhile; endif; wp_reset_postdata(); ?> </div> </div> </div> <?php } ?> <!--==================== FOOTER AREA ====================--> <?php $newsup_footer_widget_background = get_theme_mod('newsup_footer_widget_background'); $newsup_footer_overlay_color = get_theme_mod('newsup_footer_overlay_color'); if($newsup_footer_widget_background != '') { ?> <footer class="back-img" style="background-image:url('<?php echo esc_url($newsup_footer_widget_background);?>');"> <?php } else { ?> <footer> <?php } ?> <div class="overlay" style="background-color: <?php echo esc_attr($newsup_footer_overlay_color);?>;"> <!--Start mg-footer-widget-area--> <?php if ( is_active_sidebar( 'footer_widget_area' ) ) { ?> <div class="mg-footer-widget-area"> <div class="container-fluid"> <div class="row"> <?php dynamic_sidebar( 'footer_widget_area' ); ?> </div> <!--/row--> </div> <!--/container--> </div> <?php } ?> <!--End mg-footer-widget-area--> <!--Start mg-footer-widget-area--> <div class="mg-footer-bottom-area"> <div class="container-fluid"> <?php if ( is_active_sidebar( 'footer_widget_area' ) ) { ?> <div class="divide-line"></div> <?php } ?> <div class="row align-items-center"> <!--col-md-4--> <div class="col-md-6"> <?php the_custom_logo(); if (display_header_text()) : ?> <div class="site-branding-text"> <p class="site-title-footer"> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php echo esc_html(get_bloginfo( 'name' )); ?></a></p> <p class="site-description-footer"><?php echo esc_html(get_bloginfo( 'description' )); ?></p> </div> <?php endif; ?> </div> <?php $footer_social_icon_enable = esc_attr(get_theme_mod('footer_social_icon_enable','true')); if($footer_social_icon_enable == true) { $newsup_footer_fb_link = get_theme_mod('newsup_footer_fb_link'); $newsup_footer_fb_target = esc_attr(get_theme_mod('newsup_footer_fb_target','true')); $newsup_footer_twt_link = get_theme_mod('newsup_footer_twt_link'); $newsup_footer_twt_target = esc_attr(get_theme_mod('newsup_footer_twt_target','true')); $newsup_footer_lnkd_link = get_theme_mod('newsup_footer_lnkd_link'); $newsup_footer_lnkd_target = esc_attr(get_theme_mod('newsup_footer_lnkd_target','true')); $newsup_footer_insta_link = get_theme_mod('newsup_footer_insta_link'); $newsup_footer_insta_target = esc_attr(get_theme_mod('newsup_footer_insta_target','true')); $newsup_footer_youtube_link = get_theme_mod('newsup_footer_youtube_link'); $newsup_footer_youtube_target = esc_attr(get_theme_mod('newsup_footer_youtube_target','true')); $newsup_footer_pinterest_link = get_theme_mod('newsup_footer_pinterest_link'); $newsup_footer_pinterest_target = esc_attr(get_theme_mod('newsup_footer_pinterest_target','true')); $newsup_footer_telegram_link = get_theme_mod('newsup_footer_tele_link'); $newsup_footer_telegram_target = esc_attr(get_theme_mod('newsup_footer_tele_target','true')); ?> <div class="col-md-6 text-right text-xs"> <ul class="mg-social"> <?php if($newsup_footer_fb_link !=''){ ?> <li> <a href="<?php echo esc_url($newsup_footer_fb_link); ?>" <?php if($newsup_footer_fb_target) { ?> target="_blank" <?php } ?>><span class="icon-soci facebook"><i class="fab fa-facebook"></i></span> </a></li> <?php } ?> <?php if($newsup_footer_twt_link !=''){ ?> <li><a <?php if($newsup_footer_twt_target) { ?>target="_blank" <?php } ?>href="<?php echo esc_url($newsup_footer_twt_link);?>"> <span class="icon-soci twitter"><i class="fab fa-twitter"></i></span></a></li> <?php } ?> <?php if($newsup_footer_lnkd_link !=''){ ?> <li><a <?php if($newsup_footer_lnkd_target) { ?>target="_blank" <?php } ?> href="<?php echo esc_url($newsup_footer_lnkd_link); ?>"> <span class="icon-soci linkedin"><i class="fab fa-linkedin"></i></span></a></li> <?php } ?> <?php if($newsup_footer_insta_link !=''){ ?> <li><a <?php if($newsup_footer_insta_target) { ?>target="_blank" <?php } ?> href="<?php echo esc_url($newsup_footer_insta_link); ?>"><span class="icon-soci instagram"><i class="fab fa-instagram"></i></span> </a></li> <?php } ?> <?php if($newsup_footer_youtube_link !=''){ ?> <li><a <?php if($newsup_footer_youtube_target) { ?>target="_blank" <?php } ?> href="<?php echo esc_url($newsup_footer_youtube_link); ?>"> <span class="icon-soci youtube"><i class="fab fa-youtube"></i></span></a></li> <?php } ?><?php if($newsup_footer_pinterest_link !=''){ ?> <li><a <?php if($newsup_footer_pinterest_target) { ?>target="_blank" <?php } ?> href="<?php echo esc_url($newsup_footer_pinterest_link); ?>"> <span class="icon-soci pinterest"><i class="fab fa-pinterest-p"></i></span></a></li> <?php } ?> <?php if($newsup_footer_telegram_link !=''){ ?> <li><a <?php if($newsup_footer_telegram_target) { ?>target="_blank" <?php } ?> href="<?php echo esc_url($newsup_footer_telegram_link); ?>"> <span class="icon-soci telegram"><i class="fab fa-telegram"></i></span></a></li> <?php } ?> </ul> </div> <!--/col-md-4--> <?php } ?> </div> <!--/row--> </div> <!--/container--> </div> <!--End mg-footer-widget-area--> <div class="mg-footer-copyright"> <div class="container-fluid"> <div class="row"> <?php $newsup_enable_footer_menu = esc_attr(get_theme_mod('newsup_enable_footer_menu','true')); if($newsup_enable_footer_menu == true){ ?> <div class="col-md-6 text-xs"> <?php } else { ?> <div class="col-md-12 text-xs text-center"> <?php } ?> <p> <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'newsup' ) ); ?>"> <?php /* translators: placeholder replaced with string */ printf( esc_html__( 'Proudly powered by %s', 'newsup' ), 'WordPress' ); ?> </a> <span class="sep"> | </span> <?php /* translators: placeholder replaced with string */ printf( esc_html__( 'Theme: %1$s by %2$s.', 'newsup' ), 'Newsup', '<a href="' . esc_url( __( 'https://themeansar.com/', 'newsup' ) ) . '" rel="designer">Themeansar</a>' ); ?> </p> </div> <?php if($newsup_enable_footer_menu == true){ ?> <div class="col-md-6 text-md-right text-xs"> <?php wp_nav_menu( array( 'theme_location' => 'footer', 'container' => 'nav-collapse collapse navbar-inverse-collapse', 'menu_class' => 'info-right', 'fallback_cb' => 'newsup_fallback_page_menu', 'walker' => new newsup_nav_walker() ) ); ?> </div> <?php } ?> </div> </div> </div> </div> <!--/overlay--> </footer> <!--/footer--> </div> </div> <!--/wrapper--> <!--Scroll To Top--> <a href="#" class="ta_upscr bounceInup animated"><i class="fas fa-angle-up"></i></a> <!--/Scroll To Top--> <!-- /Scroll To Top --> <?php wp_footer(); ?> </body> </html>