HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpkoopkj/wp-content/themes/ohio/single-ohio_portfolio.php
<?php
/**
 * Ohio WordPress Theme
 *
 * Single project template
 *
 * @author Colabrio
 * @link   https://ohio.clbthemes.com
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Theme header
 */
get_header();

// Get theme options
$project_layout = OhioOptions::get( 'project_layout_type' );

?>

<?php 
	if ( ! in_array( $project_layout, array( 'type_5', 'type_6', 'type_8', NULL ) ) ) {
		get_template_part( 'parts/elements/page_headline' );
	}
?>

<?php if ( ! post_password_required() ) : ?>

	<?php
	switch ( $project_layout ) {
		case 'type_1':
			get_template_part( '/parts/portfolio/layout_type1' );
			break;
		case 'type_2':
			get_template_part( '/parts/portfolio/layout_type2' );
			break;
		case 'type_3':
			get_template_part( '/parts/portfolio/layout_type3' );
			break;
		case 'type_4':
			get_template_part( '/parts/portfolio/layout_type4' );
			break;
		case 'type_5':
			get_template_part( '/parts/portfolio/layout_type5' );
			break;
		case 'type_6':
			get_template_part( '/parts/portfolio/layout_type6' );
			break;
		case 'type_7':
			get_template_part( '/parts/portfolio/layout_type7' );
			break;
		case 'type_8':
			get_template_part( '/parts/portfolio/layout_type8' );
			break;
		case 'type_9':
			get_template_part( '/parts/portfolio/layout_type9' );
			break;
		default:
			get_template_part( '/parts/portfolio/layout_type1' );
	}?>

	<?php if (comments_open() || get_comments_number()) : ?>

	    <div class="portfolio-comments clb__light_section">
	        <?php comments_template(); ?>
	    </div>

	<?php endif; ?>

	<?php else : ?>

		<div class="page-container bottom-offset">
			<div class="content">
				<?php echo get_the_password_form(); ?>
			</div>
		</div>

	<?php endif; ?>

<?php

/**
 * Theme footer
 */
get_footer();