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.php
<?php
/**
 * Ohio WordPress Theme
 *
 * Single post template
 *
 * @author Colabrio
 * @link   https://ohio.clbthemes.com
 */

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

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

// Get theme options
$show_breadcrumbs = OhioOptions::get( 'page_breadcrumbs_visibility', true );
$show_headline = OhioOptions::get( 'page_header_title_visibility', true );
$page_wrapped = OhioOptions::get( 'page_add_wrapper', true );
$show_author_widget = OhioOptions::get_global( 'post_author_widget_visibility', true );
$show_comments = OhioOptions::get( 'post_comments_visibility', true );
$post_layout = OhioOptions::get( 'post_layout_type' );

while ( have_posts() ) : the_post();

?>

<?php
switch ( $post_layout ) {
	case 'type_1':
		get_template_part( '/parts/blog/layout_type1' );
		break;
	case 'type_2':
		get_template_part( '/parts/blog/layout_type2' );
		break;
	default:
		get_template_part( '/parts/blog/layout_type1' );
} ?>

<div class="author-container">
	<div class="page-container">
		<div class="vc_row">
			<div class="vc_col-md-12">

				<?php
				    $author = get_the_author_meta( 'ID' );
				    if ( $show_author_widget && $author ) {
				        the_widget( 'ohio_widget_about_author', array( 'words' => '' ) );
				    }
				?>
				
			</div>
		</div>
	</div>
</div>

<?php get_template_part( 'parts/elements/nav_posts' ); ?>

<?php get_template_part( 'parts/elements/related_posts' ); ?>

<?php if ( $show_comments && (comments_open() || get_comments_number()) ) : ?>
	<?php comments_template(); ?>
<?php endif; ?>

<?php
	endwhile;

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