HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/public_html/wp-content/themes/egovt/page.php
<?php get_header(); ?>
<?php 
$global_layout = apply_filters( 'egovt_theme_sidebar','' );
$class_no_sidebar = '';
$flag_has_sidebar_woo = true;
if( egovt_is_woo_active() ){
	$class_no_sidebar = ( is_cart() || is_checkout() ) ? 'no_sidebar_woo' : '';
	$flag_has_sidebar_woo = ( is_cart() || is_checkout() ) ? false : true;
}
?>
	<div class="wrap_site <?php echo esc_attr($global_layout); ?> <?php echo esc_attr( $class_no_sidebar ) ?>">
		<div id="main-content" class="main">
			<?php					
			if ( have_posts() ) : while ( have_posts() ) : the_post();
			    get_template_part( 'content/content', 'page' );
			    if ( comments_open() ) comments_template( '', true );
				endwhile; else : ?>
			        <p><?php esc_html_e('Sorry, no pages matched your criteria.', 'egovt'); ?></p>
			<?php endif; ?>	
		</div> <!-- #main-content -->
		<?php 
		if( $flag_has_sidebar_woo ){
			get_sidebar(); 
		}
		?>
	</div> <!-- .wrap_site -->

<?php get_footer(); ?>