HEX
Server: Apache
System: Linux server1.adamthecomputerguy.com 3.10.0-1160.92.1.el7.x86_64 #1 SMP Tue Jun 20 11:48:01 UTC 2023 x86_64
User: jcorr (10056)
PHP: 8.2.30
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/jcorrmechanical.com/httpdocs/wp-content/themes/smart-cleaning/right-sidebar.php
<?php
/**
* Template Name: Right Sidebar
 */

get_header(); ?>

	<div id="skip-content" class="container">
        <div class="row">
            <div id="primary" class="content-area <?php echo is_active_sidebar('sidebar') ? "col-lg-9 col-md-8" : "col-lg-12"; ?>">
                <main id="main" class="site-main module-border-wrap mb-4">
                    <?php
                    while (have_posts()) : the_post();

                        get_template_part('template-parts/content', 'page');

                        // If comments are open or we have at least one comment, load up the comment template.
                        if (comments_open() || get_comments_number()) :
                            comments_template();
                        endif;

                    endwhile; // End of the loop.
                    ?>
                </main>
            </div>
            <div class="col-lg-3 col-md-3">
                <?php get_sidebar(); ?>
            </div>    
        </div>
    </div>
	
<?php get_footer();