<?php /** * The template for displaying all single posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @package bizberg */ get_header(); ?> <section id="blog" class="blog-section blog-detail-page"> <div class="container"> <div class="row"> <div class="two-tone-layout"><!-- two tone layout start --> <?php if( apply_filters( 'bizberg_single_post_layout', 1 ) == 2 ){ while ( have_posts() ) : the_post(); get_template_part( 'template-parts/content', 'detail2' ); endwhile; } else { ?> <div class="<?php echo bizberg_check_sidebar_active_inactive_class_page(); ?>" id="content"><!-- primary start --> <?php while ( have_posts() ) : the_post(); get_template_part( 'template-parts/content', 'detail' ); 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> <?php if( is_active_sidebar( 'sidebar-2' ) ){ ?> <div class="col-md-4 col-sm-12 bizberg_sidebar"> <?php get_sidebar(); ?> </div> <?php } } ?> </div> </div> </div> </section> <?php get_footer();
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
assets | Folder | 0755 |
|
|
inc | Folder | 0755 |
|
|
languages | Folder | 0755 |
|
|
page-templates | Folder | 0755 |
|
|
template-parts | Folder | 0755 |
|
|
404.php | File | 643 B | 0644 |
|
LICENSE | File | 17.62 KB | 0644 |
|
archive.php | File | 1.25 KB | 0644 |
|
comments.php | File | 1.85 KB | 0644 |
|
footer.php | File | 800 B | 0644 |
|
functions.php | File | 114.82 KB | 0644 |
|
header.php | File | 6.08 KB | 0644 |
|
index.php | File | 2.86 KB | 0644 |
|
page.php | File | 1.14 KB | 0644 |
|
readme.txt | File | 3.48 KB | 0644 |
|
rtl.css | File | 5.36 KB | 0644 |
|
screenshot.jpg | File | 141.4 KB | 0644 |
|
search.php | File | 1.25 KB | 0644 |
|
sidebar.php | File | 329 B | 0644 |
|
single.php | File | 1.46 KB | 0644 |
|
style.css | File | 16.29 KB | 0644 |
|
wp-comment-walker.php | File | 3.64 KB | 0644 |
|
wp-menu-walker.php | File | 1.65 KB | 0644 |
|