<?php
/**
 * The template for displaying all single posts.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
 *
 * @package luzuk Premium
 */
$luzuk_lite_single_breadcrumb_section = get_theme_mod('luzuk_lite_single_breadcrumb_section', '1');
$luzuk_lite_single_tags_section = get_theme_mod('luzuk_lite_single_tags_section', '1');
$luzuk_lite_authorbox_section = get_theme_mod('luzuk_lite_authorbox_section', '1');
$luzuk_lite_relatedposts_section = get_theme_mod('luzuk_lite_relatedposts_section', '1');

get_header(); ?> 
 <?php $image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));?>
<header class="page-main-header"  >
    <div class="container">
        <div class="row">
            <div class="col-xl-8 col-lg-7 col-md-7 col-sm-6 col-6 innheadlftbx">
                <div class="innheadlhs">
                  <div class="headinnbox">
                      <?php the_title( '<h1 class="ht-main-title wow zoomIn">', '</h1>' ); ?>
                      <?php if( get_theme_mod('breadcrumb_button_display','show' ) == 'show') : ?>
                      <div class="breadcrumbbox wow zoomIn">
                          <div class='button'><?php luzuk_lite_the_breadcrumb(); ?></div>
                          <div class="clearfix"></div>
                      </div>
                      <?php endif ?>
                  </div>
              </div>
            </div>
            <div class="col-xl-4 col-lg-5 col-md-5 col-sm-6 col-6">
                <div class="innhead-img">
                    <div class="innheadrhs">
                        <?php  if (!empty($image)) : ?>
                            <img src="<?php echo esc_url($image); ?>">
                        <?php endif ?>
                    </div>
                </div> 
            </div>
        </div>
    </div>
    <div class="header-wave1">
        <svg width="419.816" height="136.21" viewBox="0 0 419.816 136.21">
          <defs>
            <filter id="Path_3" x="0" y="0" width="419.816" height="136.21" filterUnits="userSpaceOnUse">
              <feOffset dy="1" input="SourceAlpha"/>
              <feGaussianBlur stdDeviation="2.5" result="blur"/>
              <feFlood flood-opacity="0.149"/>
              <feComposite operator="in" in2="blur"/>
              <feComposite in="SourceGraphic"/>
            </filter>
          </defs>
          <g id="line" transform="translate(7.554 -229.038)">
            <g transform="matrix(1, 0, 0, 1, -7.55, 229.04)" filter="url(#Path_3)">
              <path id="Path_3-2" data-name="Path 3" d="M0,250.951S28.308,281.5,78.479,273.373s36.287-47.372,88.7-44.719,37.441-41.555,99.654-30.4c28.867,5.177,42.8,5.866,54.4,4.443,4.916-.686,29.016-3.963,48.08-15.562,20.264-12.329,35.507-33.31,35.507-33.31L.089,153.538Z" transform="translate(7.5 -147.04)"/>
            </g>
            <path id="Path_4" data-name="Path 4" d="M-3.5-59.15S23.788-20.788,58.256-26.106s31.209-24.534,66.832-36.113,36.5-2.749,60.949-11.623,23.517-20.519,46.606-27.238,54.891,7.754,94.032,2.693c18.279-2.363,34.209-10.259,46.09-18.064,13.364-8.78,17.55-17.176,17.55-17.176" transform="translate(3.446 369.366)" fill="none" stroke-width="1" stroke-dasharray="7"/>
            <path id="Path_6" data-name="Path 6" d="M-18.636-59.319s32.22,35.723,66.688,30.4,24.082-19.548,59.7-31.128,31.019-.51,60.725-9.7,26.41-19.817,49.5-26.535,63.492,7.243,102.633,2.182S375.471-122.9,375.471-122.9" transform="translate(18.5 358.475)" fill="none" stroke-width="1" opacity="0.3"/>
            <path id="Path_7" data-name="Path 7" d="M-18.364-78.024S17.836-47.3,52.3-51.081s31.209-17.43,66.832-25.656,36.5-1.953,60.949-8.258,23.517-14.578,46.606-19.351,54.891,5.508,94.032,1.913S375.58-122.9,375.58-122.9" transform="translate(18.391 358.475)" fill="none" stroke-width="1" opacity="0.3"/>
            <path id="Path_8" data-name="Path 8" d="M.47-94.289S26.123-79,61.6-81.2s32.122-10.121,68.787-14.9,37.567-1.134,62.732-4.795,24.2-8.465,47.97-11.237,56.5,3.2,96.783,1.111S394.333-122.9,394.333-122.9" transform="translate(-0.362 358.475)" fill="none" stroke-width="1" opacity="0.3"/>
          </g>
        </svg>
    </div>
    <div class="header-wave2">
        <svg width="289.659" height="187.708" viewBox="0 0 289.659 187.708">
          <defs>
            <filter id="Path_9" x="0" y="0" width="289.659" height="187.708" filterUnits="userSpaceOnUse">
              <feOffset dy="-1" input="SourceAlpha"/>
              <feGaussianBlur stdDeviation="2.5" result="blur"/>
              <feFlood flood-opacity="0.149"/>
              <feComposite operator="in" in2="blur"/>
              <feComposite in="SourceGraphic"/>
            </filter>
          </defs>
          <g transform="matrix(1, 0, 0, 1, 0, 0)" filter="url(#Path_9)">
            <path id="Path_9-2" data-name="Path 9" d="M274.659,614.4s-15.651,51.675-53.258,75.322-65.365-.731-97.169,19.267c-30.155,18.962-20.378,40.7-43.585,55.294C56.424,779.519,0,787.111,0,787.111H274.659Z" transform="translate(7.5 -605.9)"/>
          </g>
        </svg>
    </div>
  <div class="clearfix"></div>
</header>
<main id="innerpage-box">
    <div class="container">
        <div class="inner_contentbox">
            <div id="content-box" class="innerpage-whitebox">
                <div class="row mr-0">
                    <div class="col-xl-9 col-lg-8 col-md-7">
                        <article class="article">       
                        <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
                            <div id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>>
                                <div class="single_post">
                                    <header>
                                    <!-- </?php if( get_theme_mod('postdate_button_display','show' ) == 'show') :
                                       ?>
                                       <div class="post-date-publishable"><i class="fa fa-calendar-o" aria-hidden="true"></i><//?php the_time( get_option( 'date_format' ) ); ?></div>
                                   <//?php endif ?>  -->
                                   <!-- Start Title -->
                                    </header>
                        
                                    <div id="content" class="post-single-content box mark-links">
                                        <div class="blog-innimg ">

                                           <?php  echo get_the_post_thumbnail(get_the_ID(),'larger');?>
                                           <!--  <//?php the_post_thumbnail(); ?>  -->
                                        </div>
                                        <?php if( get_theme_mod('postdate_button_display','show' ) == 'show') :  ?>
                                        <div class="datebx col-md-12 pd-0">
                                            <li>
                                               <div class="post-date-publishable"><i class="fa fa-user"></i><?php echo get_the_author(); ?></div>
                                            </li>
                                            
                                            <li>
                                                <div class="post-date-publishable"><i class="fa fa-calendar" ></i><?php echo get_the_date( 'j M , Y' ); ?></div>
                                            </li>

                                            <li>
                                                <div class="post-date-publishable"><i class="fa fa-comments"></i><?php echo $my_var = get_comments_number(); ?> Comments</div>
                                            </li>
                                        </div>
                                        <?php endif ?>
                                        <?php the_content(); ?>
                                        <div class="row mr-0">
                                        <div class="col-xl-8 col-lg-7 col-md-12 col-sm-12">
                                            <?php if($luzuk_lite_single_tags_section == '1') { ?>
                                                <!-- Start Tags -->
                                            <div class="tags">
                                                <?php the_tags('<span class="tagtext">'.__('Tags','luzuk Premium').' :</span>') ?> 
                                            </div>
                                                <!-- End Tags -->
                                            <?php } ?>
                                            <div class="clearfix"></div>
                                        </div>
                                        <div class="col-xl-4 col-lg-5 col-md-12 col-sm-12 pd-0">
                                            <div class="socialMedia">
                                                <ul>
                                                    <li>
                                                        <a href="https://www.facebook.com/sharer/sharer.php?u=<?php the_permalink();?>" target="_blank" class="blgsmedia"><i class="fa fa-facebook" aria-hidden="true"></i></a>
                                                    </li>
                                                    <li>
                                                        <a href="https://www.linkedin.com/shareArticle?mini=true&url=<?php the_permalink();?>&title=<?php the_title();?>&source=<?php the_title();?>" target="_blank" class="blgsmedia"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
                                                    </li>

                                                    <li>
                                                        <a href="https://twitter.com/share?url=<?php the_permalink();?>&amp;text=<?php the_title();?>" class="blgsmedia" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
                                                    </li>
                                                    <li>
                                                        <a href="https://in.pinterest.com/submit?url=<?php the_permalink();?>" target="_blank" class="blgsmedia"><i class="fa fa-pinterest-p" aria-hidden="true"></i></a>
                                                    </li>
                                                </ul>
                                                <div class="clearfix"></div>
                                            </div>
                                        </div>
                                    </div>
                                        <div class="clearfix"></div>
                                    </div><!-- End Content -->
                        

                                <?php if($luzuk_lite_authorbox_section == '1') { ?>
                                <!-- Start Author Box 
                                <div class="postauthor">
                                    <h4><?php _e('About The Author', 'luzuk Premium'); ?></h4>
                                    <?php //if(function_exists('get_avatar')) { echo get_avatar( get_the_author_meta('email'), '85' );  } ?>
                                    <h5><?php //the_author(); ?></h5>
                                    <p><?php //the_author_meta('description') ?></p>
                                </div>
                                <!- End Author Box -->
                                <?php }?>  
                                <?php comments_template( '', true ); ?>
                            </div>
                        </div>
                <?php endwhile; ?>
                    </article>
                </div>
                <div class="col-xl-3 col-lg-4 col-md-5">
                    <div id="secondary" class="widget-area">
                        <?php  dynamic_sidebar('luzuk-single-post-sidebar'); ?>
                        <!-- <//?php  dynamic_sidebar('luzuk-single-post-sidebar'); ?> -->
                    </div>
                </div>
            </div>
        <!-- End Article -->
        <!-- Start Sidebar -->
        <?php // get_sidebar(); ?>
        <!-- End Sidebar -->
        </div>
        <div class="clearfix"></div>
    </div>
  <div class="clearfix"></div>
</div>
</main>
<?php get_footer(); ?>
