%PDF- %PDF-
Direktori : /www/klubovnaostrava/test/wp-content/themes/businessx/ |
Current File : /www/klubovnaostrava/test/wp-content/themes/businessx/single.php |
<?php /* ------------------------------------------------------------------------- * * Single template /* ------------------------------------------------------------------------- */ /** * Filtered CSS classes * ------ * section: grid-wrap * div: grid-container grid-1 padding-small clearfix * main: grid-col grid-posts-col site-single clearfix * ------ */ // Header and Footer templates $businessx_header_tmpl = apply_filters( 'businessx_header___tmpl', '' ); $businessx_footer_tmpl = apply_filters( 'businessx_footer___tmpl', '' ); // Header get_header( $businessx_header_tmpl ); // Title businessx_get_heading_templ( 'single', 'full-height' ); ?> <section role="main" id="content" class="<?php businessx_occ( 'businessx_single___section_classes' ); ?>"> <?php do_action( 'businessx_single__inner_sec_top' ); ?> <div class="<?php businessx_occ( 'businessx_single___container_classes' ); ?>"> <?php do_action( 'businessx_single__inner_before' ); ?> <main id="main" class="<?php businessx_occ( 'businessx_single___main_classes' ); ?>" role="main"> <?php while ( have_posts() ) : the_post(); // Article template get_template_part( 'partials/posts/content', apply_filters( 'businessx_blog_single___content', 'single' ) ); // 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; ?> </main> <?php get_sidebar( apply_filters( 'businessx_sidebar___single', 'single' ) ); ?> <?php do_action( 'businessx_single__inner_after' ); ?> </div> <?php do_action( 'businessx_single__inner_sec_bottom' ); ?> </section> <?php // Footer get_footer( $businessx_footer_tmpl ); ?>