🚀 Hostinger Optimized
🖥️ Server: Apache
💻 System: Linux webm015.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
👤 User: stakrfrcol (69043)
🐘 PHP: 8.3.31
🚫 Disabled: _dyuweyrj4,_dyuweyrj4r,dl

💻 Terminal

📁 /home/stakrfrcol/agency
$

📄 single.php

📁 Path: /home/stakrfrcol/agency/wp-content/themes/xhyre/single.php
📊 Size: 2.29 KB
🔒 Perm: 0644
📝 MIME: text/x-php
<?php
/**
 * The template for displaying all single posts
 *
 * @package WordPress
 * @subpackage Xhyre
 * @since 1.0
 * @version 1.0
 */
get_header(); ?>
<div id="primary" class="content-area <?php if( pbmit_check_sidebar() ) { ?>col-md-9 col-lg-9<?php } ?>">
	<main id="main" class="site-main">
		<?php
		if( is_singular('pbmit-portfolio') ){
			$style			= pbmit_get_base_option('portfolio-single-style');
			$single_style	= get_post_meta( get_the_ID(), 'pbmit-portfolio-single-view', true );
			if( !empty($single_style) ){ $style = $single_style; }
			/* Start the Loop */
			while ( have_posts() ) : the_post();
				get_template_part( 'theme-parts/portfolio-single-style', $style );
			endwhile; // End of the loop.
		} else if( is_singular('pbmit-service') ){
			$style			= pbmit_get_base_option('service-single-style');
			$single_style	= get_post_meta( get_the_ID(), 'pbmit-service-single-view', true );
			if( !empty($single_style) ){ $style = $single_style; }
			/* Start the Loop */
			while ( have_posts() ) : the_post();
				get_template_part( 'theme-parts/service-single-style', $style );
			endwhile; // End of the loop.
		} else if( is_singular('pbmit-team-member') ){
			$style = pbmit_get_base_option('team-single-style');
			/* Start the Loop */
			while ( have_posts() ) : the_post();
				get_template_part( 'theme-parts/team-single-style', $style );
			endwhile; // End of the loop.
		} else if( is_singular('product') ){
			/* Start the Loop */
			while ( have_posts() ) : the_post();
				get_template_part( 'theme-parts/woocommerce-single', 'style' );
			endwhile; // End of the loop.
		} else if( is_singular('job_listing') || is_singular('awsm_job_openings') ){
			/* Start the Loop */
			while ( have_posts() ) : the_post();
				get_template_part( 'theme-parts/job-listing-single', 'style' );
			endwhile; // End of the loop.
		} else {
			/* Start the Loop */
			while ( have_posts() ) : the_post();
				include( locate_template( 'theme-parts/post-classic.php', false, false ) ); 
				// If comments are open or we have at least one comment, load up the comment template.
				if ( is_singular('post') && ( comments_open() || get_comments_number() ) ) :
					comments_template();
				endif;
			endwhile; // End of the loop.
		}
		?>
	</main><!-- #main -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer();
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨