File: /home/platne/serwer143450/public_html/leasing.hillconnect.pl/wp-content/themes/anada/single.php
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Anada
*/
get_header();
?>
<!-- Start Breadcrumb
============================================= -->
<div class="breadcrumb-area gradient-bg text-light text-center">
<!-- Fixed BG -->
<div class="fixed-bg" style="background-image: url(<?php echo get_template_directory_uri() . '/img/shape/1.png' ?>);"></div>
<!-- Fixed BG -->
<div class="container">
<div class="row">
<div class="col-lg-8 offset-lg-2">
<h1><?php the_title(); ?></h1>
<ul class="breadcrumb">
<li><a href="<?php echo esc_url(home_url('/')); ?>"><i class="fas fa-home"></i> <?php esc_html_e( 'Home', 'anada' )?></a></li>
<li class="active"><?php esc_html_e( 'Blog Details', 'anada' )?></li>
</ul>
</div>
</div>
</div>
</div>
<!-- End Breadcrumb -->
<?php if ( is_active_sidebar( 'main-sidebar' ) ) : { ?>
<!-- Start Blog
============================================= -->
<div class="blog-area single full-blog right-sidebar full-blog default-padding">
<div class="container">
<div class="blog-items">
<div class="row">
<div class="blog-content col-lg-8 col-md-12">
<?php
while ( have_posts() ) :
the_post();
get_template_part( 'template-parts/content', 'page' );
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
else:
endif;
endwhile; // End of the loop. ?>
</div>
<!-- Start Sidebar -->
<div class="sidebar col-lg-4 col-md-12">
<aside>
<?php get_sidebar(); ?>
</aside>
</div>
<!-- End Start Sidebar -->
</div>
</div>
</div>
</div>
<!-- End Blog -->
<?php } else : ?>
<!-- Start Blog
============================================= -->
<div class="blog-area single full-blog full-blog default-padding">
<div class="container">
<div class="blog-items">
<div class="row">
<div class="blog-content col-lg-10 offset-lg-1 col-md-12">
<?php
while ( have_posts() ) :
the_post();
get_template_part( 'template-parts/content', 'page' );
// the_post_navigation();
// If comments are open or we have at least one comment, load up the comment template.
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
endwhile; // End of the loop.
?>
</div>
</div>
</div>
</div>
</div>
<!-- End Blog -->
<?php endif; ?>
<?php
get_footer();