HEX
Server: Apache
System: Linux flamboyant-gauss.194-164-62-186.plesk.page 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: gamesamphora (10001)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/amphoragames.com/httpdocs/wp-content/themes/ibuki/content.php
<?php 
$options_ibuki = get_option('ibuki'); 
$blog_type = $options_ibuki['blog_type'];

$img_thumb_listed = wp_get_attachment_image_src( get_post_thumbnail_id(), 'listed-blog-thumb' );
$img_thumb_center = wp_get_attachment_image_src( get_post_thumbnail_id(), 'center-blog-thumb' );
$img_thumb_masonry = wp_get_attachment_image_src( get_post_thumbnail_id(), 'masonry-blog-thumb' );
$img_thumb_standard = wp_get_attachment_image_src( get_post_thumbnail_id(), 'standard-blog-thumb' );

$check_featured_image_post_settings = get_post_meta($post->ID, '_az_featured_image_settings', true);
?>

<?php if( !is_single() ) { ?>

<?php if($blog_type == 'listed-blog') { ?>
<div class="blog-post-thumb-listed">
	<a class="blog-photo" title="<?php the_title(); ?>" href="<?php the_permalink(); ?>">
		<div class="blog-post-image" style="background-image: url('<?php echo $img_thumb_listed[0]; ?>');">
			<span class="overlay-bg-blog"><i class="read-icon"></i></span>
		</div>
		<div class="blog-post-description">
			<div class="blog-naming">
				<h2 class="post-title"><?php the_title(); ?></h2>
				<span class="line"></span>
				<h3 class="published"><?php the_time( get_option('date_format') ); ?> / <?php comments_number( 'no comments', 'one comment', '% comments' ); ?></h3>
			</div>
		</div>
	</a>
</div>

<?php } else if($blog_type == 'center-blog') { ?>
<div class="blog-post-thumb-center" style="background-image: url('<?php echo $img_thumb_center[0]; ?>');">
	<span class="overlay-bg-blog"></span>
	<a title="<?php the_title(); ?>" href="<?php the_permalink(); ?>">
		<div class="blog-post-box">
			<div class="blog-naming">
				<h2 class="post-title"><?php the_title(); ?></h2>
				<span class="line"></span>
				<h3 class="published"><?php the_time( get_option('date_format') ); ?> / <?php comments_number( 'no comments', 'one comment', '% comments' ); ?></h3>
			</div>
		</div>
	</a>
</div>
<div class="blog-post-content-center">
	<div class="entry-content">
		<?php the_content( __("Continue Reading...", AZ_THEME_NAME) );?>
	</div>
</div>

<?php } else if($blog_type == 'masonry-blog') { 
if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
<div class="blog-post-thumb-masonry">
	<a title="<?php the_title(); ?>" href="<?php the_permalink(); ?>" class="hover-wrap">
		<?php the_post_thumbnail('masonry-blog-thumb'); ?>
		<span class="overlay-bg-blog"><i class="read-icon"></i></span>
	</a>
</div>
<?php } ?>

<div class="blog-post-content-masonry">
	<div class="post-name">
		<h2 class="entry-title">
			<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_title(); ?></a>
		</h2>
	    <?php get_template_part( 'content' , 'meta-header' ); ?>
	</div>

	<div class="entry-content">
		<?php the_content( __("Continue Reading...", AZ_THEME_NAME) );?>
	</div>
</div>

<?php } else if($blog_type == 'standard-blog') { 
if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
<div class="blog-post-thumb-standard">
	<a title="<?php the_title(); ?>" href="<?php the_permalink(); ?>" class="hover-wrap">
		<?php the_post_thumbnail('standard-blog-thumb'); ?>
		<span class="overlay-bg-blog"><i class="read-icon"></i></span>
	</a>
</div>
<?php } ?>

<div class="blog-post-content-standard">
	<div class="post-name">
		<h2 class="entry-title">
			<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"> <?php the_title(); ?></a>
		</h2>
	    <?php get_template_part( 'content' , 'meta-header' ); ?>
	</div>

	<div class="entry-content">
		<?php the_content('<span class="continue-reading">'. __("Continue Reading...", AZ_THEME_NAME) . '</span>'); ?>
	</div>
</div>
<?php } ?>

<?php } ?>

<?php if( is_single() ) { ?>
<?php if ( $check_featured_image_post_settings == "enabled") { ?>
<?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { ?>
<div class="post-thumb">
	<?php the_post_thumbnail(); ?>
</div>
<?php } ?>
<?php } ?>

<div class="entry-content">
    <?php the_content( __("Continue Reading...", AZ_THEME_NAME) );?>
    <?php wp_link_pages(array('before' => '<p><strong>'.__('Pages:', AZ_THEME_NAME).'</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
</div>

<?php get_template_part( 'content', 'meta-footer' ); ?>

<?php } ?>