![]() Server : LiteSpeed System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : claqxcrl ( 523) PHP Version : 8.1.32 Disable Function : NONE Directory : /home/claqxcrl/www/wp-content/themes/newsup/template-parts/ |
<?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; } } else { $newsup_page_layout = get_theme_mod('newsup_page_layout','page-align-content-right'); if($newsup_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($newsup_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' ) ); echo'</figure>'; } the_content(); wp_link_pages(array( 'before' => '<div class="link btn-theme">' . esc_html__('Pages:', 'newsup'), 'after' => '</div>', )); endwhile; newsup_edit_link(); if (comments_open() || get_comments_number()) : comments_template(); endif; ?> </div> </div> <!--Sidebar Area--> <?php if($newsup_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 } ?>