File: /var/www/vhosts/byildiz.com.tr/httpdocs/wp-content/themes/lumex/single.php
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package lumex
*/
get_header();
?>
<?php
//options
$blog_featured_img = get_field( 'blog_featured_img', 'options' );
?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'template-parts/intro' ); ?>
<!-- publication -->
<div class="mil-p-10-10">
<div class="container">
<div class="row mil-jcc mil-aic">
<?php if ( has_post_thumbnail() && ! $blog_featured_img ) : $image = get_the_post_thumbnail_url( get_the_ID(), 'lumex_1920xAuto' ); ?>
<div class="col-lg-10">
<div class="mil-image-frame mil-angle">
<img src="<?php echo esc_url( $image ); ?>" alt="<?php echo esc_attr( get_the_title() ); ?>" class="mil-scale-img" data-value-1="1.1" data-value-2="1" />
<div class="mil-overlay" style="opacity: .2"></div>
</div>
</div>
<?php endif; ?>
<div class="col-lg-10">
<?php lumex_after_title(); ?>
</div>
<div class="col-lg-8">
<?php get_template_part( 'template-parts/content', 'single' ); ?>
<?php lumex_single_navigantion(); ?>
</div>
</div>
</div>
</div>
<!-- publication end -->
<?php if ( comments_open() || get_comments_number() ) :
// If comments are open or we have at least one comment, load up the comment template.
comments_template();
endif; ?>
<?php endwhile; ?>
<?php
get_footer();