HEX
Server: Apache
System: Linux server1.ariadata.co 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64
User: nepi (1051)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system,show_source,popen,proc_open
Upload Files
File: /home/nepi/pish.nepi.ir/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( 'page_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();