HEX
Server: Apache
System: Linux web2046c1.megawebservers.com 5.14.0-570.37.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Aug 28 10:41:06 UTC 2025 x86_64
User: absolutespace.ca (53202)
PHP: 7.4.33
Disabled: apache_get_modules,apache_get_version,disk_free_space,phpinfo,exec,shell_exec,passthru,system,proc_nice
Upload Files
File: /services/webpages/a/b/absolutespace.ca/public/wp-content/themes/construction/single.php
<?php
/**
 * The template for displaying all single posts.
 *
 * @package WPCharming
 */
global $wpc_option;

wpcharming_get_header() ?>
	
	<?php
	// Blog Page Title
	if ( $wpc_option['blog_single_page_title'] && get_option('page_for_posts') ) {

		$enable_page_header = get_post_meta( get_option('page_for_posts'), '_wpc_enable_page_header', true );

		if ( $enable_page_header  == 'on') {
			wpcharming_get_page_header(get_option('page_for_posts'));
		} else {
			?>
			<div class="page-title-wrap">
				<div class="container">
					<h1 class="page-entry-title">
						<?php echo get_the_title( get_option('page_for_posts') ); ?>
					</h1>
				</div>
			</div>
			<?php
		}
	}
	?>
	
	<?php if ( $wpc_option['blog_single_breadcrumb'] ) wpcharming_breadcrumb(); ?>

	<div id="content-wrap" class="container <?php echo wpcharming_get_layout_class(); ?>">
		<div id="primary" class="content-area">
			<main id="main" class="site-main" role="main">

				<?php while ( have_posts() ) : the_post(); ?>

					<?php get_template_part( 'content', 'single' ); ?>

					<?php
						// 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;
					?>

				<?php endwhile; // end of the loop. ?>

			</main><!-- #main -->
		</div><!-- #primary -->
		<?php echo wpcharming_get_sidebar(); ?>
	</div> <!-- /#content-wrap -->
<?php get_footer(); ?>