class="column one single-photo-wrapper

I remove this code from "content-single.php". 

<div class="column one single-photo-wrapper <?php echo mfn_post_thumbnail_type( get_the_ID() ); ?>">

<?php echo mfn_share( 'header' ); ?>

<?php if( ! post_password_required() ): ?>
<div class="image_frame scale-with-grid <?php if( ! mfn_opts_get('blog-single-zoom') ) echo 'disabled'; ?>">
<div class="image_wrapper">
<?php echo mfn_post_thumbnail( get_the_ID() ); ?>
</div>
<?php 
if( $caption = get_post( get_post_thumbnail_id() )->post_excerpt ){
    echo '<p class="wp-caption-text '. mfn_opts_get( 'featured-image-caption' ) .'">'. $caption .'</p>';
}
?>

</div>
<?php endif; ?>
</div>

Because i cant remove the blank space on the post page. 

But what is the right way? 


Comments

Sign In or Register to comment.