HEX
Server: Apache
System: Linux webserver101.turnkeywebspace.com 4.18.0-553.81.1.el8_10.x86_64 #1 SMP Mon Oct 27 11:29:19 EDT 2025 x86_64
User: mastech10 (1521)
PHP: 8.2.30
Disabled: show_source,system,shell_exec,passthru,exec,phpinfo,popen,proc_open,eval
Upload Files
File: /home/mastech10/public_html/wp-content/themes/newses/template-parts/content-page.php
<?php if( class_exists('woocommerce') && (is_account_page() || is_cart() || is_checkout())) { ?>
		<div class="col-md-12">
			<div class="mg-card-box padding-20">
			<?php if (have_posts()) {  while (have_posts()) : the_post();  the_content(); endwhile; } 
	    echo '</div>';
	    echo '</div>';
	} else {
		 	$newses_page_layout = get_theme_mod('newses_page_layout','page-align-content-right');
            if($newses_page_layout == "page-align-content-left") { ?>
				<!--sidebar-->
				  	<!--col-md-4-->
						<aside class="col-md-4">
							<?php get_sidebar();?>
						</aside>
				  	<!--/col-md-4-->
			 	<!--/sidebar-->
            <?php } ?>

			<div class="<?php echo esc_attr($newses_page_layout == 'page-full-width-content' ? 'col-md-12' : 'col-md-8') ?>">
				<div class="mg-card-box padding-20"> <?php 
					while ( have_posts() ) : the_post();
						if(has_post_thumbnail()) {
							echo '<figure class="post-thumbnail">';
								the_post_thumbnail( '', array( 'class'=>'img-responsive img-fluid' ) );
							echo '</figure>';
						}
						the_content();
						
						wp_link_pages(array(
							'before' => '<div class="link btn-theme">' . esc_html__('Pages:', 'newses'),
							'after' => '</div>',
						));
					endwhile;
					newses_edit_link();

					if (comments_open() || get_comments_number()) :
						comments_template();
					endif; ?>	
				</div>
			</div>
			<!--Sidebar Area-->
			<?php if($newses_page_layout == "page-align-content-right") { ?>
      			<!--sidebar-->
					<!--col-md-4-->
						<aside class="col-md-4">
							<?php get_sidebar();?>
						</aside>
					<!--/col-md-4-->
				<!--/sidebar-->
			<?php } ?>
			<!--Sidebar Area-->
	<?php } ?>