<?php
/**
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package WordPress
 * @subpackage TH_Theme
 * @since 1.0.0
 */

get_header();
global $ththeme_option;
$thumbnail_url = $ththeme_option['page-title-background']['url'];
?>
	<!-- Page header -->
	<div class="logisco-page-title-wrap  logisco-style-custom logisco-center-align" style="background-image: url(<?php echo $thumbnail_url; ?>) ;">
        <div class="logisco-header-transparent-substitute"></div>
        <div class="logisco-page-title-overlay"></div>
        <div class="logisco-page-title-container logisco-container">
            <div class="logisco-page-title-content logisco-item-pdlr">
                <h1 class="logisco-page-title" style="font-size: 44px ;text-transform: none ;letter-spacing: 0px ;"><?php the_title(); ?></h1>
            </div>
        </div>
    </div>
    <div class="logisco-page-wrapper" id="logisco-page-wrapper">
        <div class="gdlr-core-page-builder-body">
        	<div class="gdlr-core-pbf-wrapper " style="padding: 45px 200px 35px 200px;">
                <div class="gdlr-core-pbf-background-wrap" style="background-color: #ffffff ;"></div>
                <div class="gdlr-core-pbf-wrapper-content gdlr-core-js ">
                    <div class="gdlr-core-pbf-wrapper-container clearfix gdlr-core-container">
					<?php

					/* Start the Loop */
					while ( have_posts() ) :
						the_post();

						get_template_part( 'template-parts/content/content', 'single' );
					endwhile; // End of the loop.
					?>
					</div>
				</div>
			</div>
		</div>
	</div>
<?php
get_footer();