Example #1
0
                <?php 
}
?>
                <!-- single -->
                <div class="col-md-9 no-padding">

                    <!-- post single -->
                    <div class="col-md-12">
                        <section class="post-single clearfix">

                            <!-- post -->
                            <article class="post clearfix">

                                <!-- post image -->
                                <?php 
if (boston_has_media()) {
    $post_format = get_post_format();
    $image_size = 'post-thumbnail';
    include locate_template('media/media' . ($post_format ? '-' . $post_format : '') . '.php');
}
?>
                                <!-- #post image -->

                                <div class="row">
                                    <?php 
if ($blog_listing_single_layout == 'right_sidebar') {
    include locate_template('includes/single-author-sidebar.php');
}
?>

                                    <!-- post content -->
Example #2
0
    ?>
					</aside>
				</div>            	
            <?php 
}
?>
            <div class="col-md-<?php 
echo $blog_listing_layout == 'full_width' ? esc_attr('12') : esc_attr('9');
?>
 no-padding">
                <section class="post-listing clearfix">
					<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        $has_media = boston_has_media();
        $post_format = get_post_format();
        ?>
							<?php 
        if ($post_format !== 'quote' && $post_format !== 'link') {
            ?>
		                        <!-- post -->	                        
		                        <article <?php 
            post_class('post clearfix' . ($has_media ? ' has-media' : '') . '');
            ?>
>
		                        	<?php 
            if (is_sticky()) {
                ?>
											<div class="sticky">
												<i class="fa fa-paperclip"></i>