HEX
Server: Apache/2.4.6 (CentOS) PHP/5.6.39
System: Linux izj6c6ukj0hyugxsgmuxz3z 3.10.0-514.6.2.el7.x86_64 #1 SMP Thu Feb 23 03:04:39 UTC 2017 x86_64
User: root (0)
PHP: 5.6.39
Disabled: NONE
Upload Files
File: /web/data/blog.tbbbearing.com/wp-content/themes/fino/single.php
<?php
/**
 * The template for displaying all single posts.
 *
 * @package Fino
 */
 get_header(); 

 if(get_header_image()){
    $fino_overlay = "banner";
 }
 else{
    $fino_overlay = "nobanner";
 }
?>

 <section class="<?php echo esc_attr($fino_overlay);?>" <?php if ( get_header_image() ){ ?> style="background-image:url('<?php header_image(); ?>')"  <?php } ?>>
        <div class="container">
            <div class="row">
                <div class="col-sm-12">
                    <div class="<?php echo esc_attr($fino_overlay);?>-heading">
                        <h2><?php wp_title(''); ?></h2>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- ====== blogs ====== -->

  <div class="blog sp-80">
        <div class="container">
            <div class="row">
                <div class="col-md-9 ">
                    <div class="blog-detail">
                    <?php 
                       if(have_posts()) : 
                    ?>
                    <?php while(have_posts()) : the_post(); ?>
                    
                       <?php  get_template_part( 'content-parts/content', 'single' ); ?>
                    
                     <?php endwhile; ?>
                           <?php else : 
                  get_template_part( 'content-parts/content', 'none' );
                endif; ?>
                       
                    </div>
                </div>
                <div class="col-md-3">
                    <aside class="sidebar">
                      <?php get_sidebar(); ?>
                    </aside>
                </div>
            </div>
        </div>
    </div>
    
<?php get_footer(); ?>