HEX
Server: Apache
System: Linux server-674799.igrow.ws 5.14.0-611.30.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 11 06:42:00 EST 2026 x86_64
User: elrashedytravel (1025)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/elrashedytravel/public_html/wp-content/themes/blogus/template-parts/content-page.php
<?php

/**
 * Template part for displaying page content in page.php
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Blogus
 */
 if( class_exists('woocommerce') && (is_account_page() || is_cart() || is_checkout())) { ?>
		<div class="col-md-12">
			<div class="bs-card-box padding-20">
			<?php if (have_posts()) {  while (have_posts()) : the_post(); the_content(); endwhile; } 
	} else { ?>
		<?php $blogus_page_layout = get_theme_mod('blogus_page_layout','page-align-content-right');
            if($blogus_page_layout == "page-align-content-left") { ?>
                    <aside class="col-lg-4">
                        <?php get_sidebar();?>
                    </aside>
            <?php }  ?>
		<div class="<?php echo esc_attr($blogus_page_layout == 'page-full-width-content' ? 'col-lg-12' : 'col-lg-8') ?>">
            <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
				<div class="bs-card-box padding-20"> <?php 
				while (have_posts()) : the_post(); 
					if(has_post_thumbnail()) {
						if ( is_single() ) { ?>
							<figure class="post-thumbnail">
								<?php the_post_thumbnail('full', array('class' => 'img-fluid attachment-full size-full')); ?>					
							</figure>
						<?php }
						else { ?>
							<figure class="post-thumbnail">
								<a href="<?php the_permalink(); ?>" >
									<?php the_post_thumbnail('full', array('class' => 'img-fluid attachment-full size-full')); ?>
								</a>				
							</figure>
						<?php }
					}
					the_content();
					blogus_edit_link();
					
	                if (comments_open() || get_comments_number()) :
	                    comments_template();
	                endif;
	                    
	            endwhile; ?>	
				</div>
			</div>
		</div>
	<!--Sidebar Area-->
		<?php if($blogus_page_layout == "page-align-content-right") { ?>
      		<!--sidebar-->
	          	<!--col-md-4-->
					<aside class="col-lg-4">
						<?php get_sidebar();?>
					</aside>
	          	<!--/col-md-4-->
      		<!--/sidebar-->
      	<?php } ?>
	<?php } ?>
	<!--Sidebar Area-->