HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/truelysell-wp/wp-content/themes/truelysell/archive.php
<?php
/**
 * The template for displaying archive pages
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package truelysell
 */

get_header(); ?>
<!-- Titlebar
================================================== -->
 
<?php $sidebar_side = get_option('pp_blog_layout'); ?>

<?php if( is_active_sidebar( 'sidebar-1' )) {
		$blog_type ="col-lg-8 col-md-12";
	} else {
		$blog_type ="col-lg-12 col-md-12"; 
	}
 ?>

<!-- Content
================================================== -->
<div class="content">
<div class="container <?php echo esc_attr($sidebar_side); ?>">
	<!-- Blog Posts -->
	<div class="row">
			<div class="<?php echo esc_attr($blog_type); ?>">
			<?php
			if ( have_posts() ) :
				/* Start the Loop */
				while ( have_posts() ) : the_post();
					get_template_part( 'template-parts/blog/content', get_post_format() );
				endwhile;
				?>
				<!-- Pagination -->
				<div class="clearfix"></div>
					<?php truelysell_blog_pagination(); ?>
			<!-- Pagination / End -->
				<?php else :
				get_template_part( 'template-parts/content', 'none' );
			endif; ?>
			</div>
			<!-- Widgets -->
			<?php 
			   if( is_active_sidebar( 'sidebar-1' )) {  ?>
			<div class="col-lg-4 col-md-12 blog-sidebar <?php if(in_array('truelysell-core/truelysell-core.php', apply_filters('active_plugins', get_option('active_plugins'))))
{ ?> site_sidebar <?php } else { ?> default_sidebar <?php } ?>  theiaStickySidebar">
				 
					<?php get_sidebar(); ?>
			 
			</div>
			<?php } ?>
			<!-- Sidebar / End -->
		</div>
</div>
</div>

<?php get_footer(); ?>