HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/delstar/wp-content/themes/construction/footer.php
<?php
/**
 * The template for displaying the footer.
 *
 * Contains the closing of the #content div and all content after
 *
 * @package WPCharming
 */

global $wpc_option;
?>

	</div><!-- #content -->

	<div class="clear"></div>

	<footer id="colophon" class="site-footer" role="contentinfo">

		<div class="footer-connect">
			<div class="container">

				<?php if ( isset($wpc_option['footer_social']) && $wpc_option['footer_social'] == true) { ?>
				<div class="footer-social">
					<?php if ( $wpc_option['social_text'] ) { ?> <label class="font-heading" for=""><?php echo esc_html($wpc_option['social_text']); ?></label> <?php } ?>
					<?php do_action('wpcharming_socials') ;?>
				</div>
				<?php } ?>
			</div>
		</div>

		<div class="container">

					
			<?php 

			$footer_display = false;

			if ( !class_exists( 'Redux_Framework_Plugin' ) && ( is_active_sidebar( 'footer-1' ) || is_active_sidebar( 'footer-2' ) || is_active_sidebar( 'footer-3' ) || is_active_sidebar( 'footer-4' ) )) {
				$footer_display = true;
			} else if ( class_exists( 'Redux_Framework_Plugin' ) ) {
				$footer_widget  = wpcharming_option('footer_widgets');
				$footer_display = ( $footer_widget == true ) ? true : false ;
			}

			if ( $footer_display != false ) { 
				$footer_columns = isset( $wpc_option['footer_columns'] ) ? $wpc_option['footer_columns'] : 4;
			?>
			<div class="footer-widgets-area">
				<div class="sidebar-footer footer-columns footer-<?php echo esc_attr($footer_columns) ?>-columns clearfix">
					<?php 
					for ( $count = 1; $count <= $footer_columns; $count++ ) {
						?>
						<div id="footer-<?php echo esc_attr($count) ?>" class="footer-<?php echo esc_attr($count) ?> footer-column widget-area" role="complementary">
							<?php dynamic_sidebar('footer-'.$count);?>
						</div>
						<?php
					}
					?>
				</div>
			</div>
			<?php } ?>

		</div>
		<div class="site-info-wrapper">
			<div class="container">
				<div class="site-info clearfix">
					<div class="copy_text">
						<?php
						do_action( 'wpcharming_footer_copyright' );
						?>
					</div>
					<div class="footer-menu">
                        <?php 
                        if ( has_nav_menu( 'footer' ) ) {
                            wp_nav_menu( array( 'menu' => 'Footer Right Menu', 'theme_location' => 'footer', 'fallback_cb' => false ) ); 
                        } 
                        ?>
					</div>
				</div>
			</div>
		</div>
	</footer><!-- #colophon -->

</div><!-- #page -->

<?php if ( isset($wpc_option['page_back_totop']) && $wpc_option['page_back_totop'] == true ) { ?>
<div id="btt"><i class="fa fa-angle-double-up"></i></div>
<?php } ?>

<?php wp_footer(); ?>
</body>
</html>