">
				<?php 
        zilla_page_start();
        ?>

					<div class="hentry-inner">
						
						<!--BEGIN .entry-media -->
						<div class="entry-media">
							
							<?php 
        if ($portfolio_display_gallery == 'on') {
            $gallery_layout = get_post_meta($post->ID, '_zilla_gallery_layout', true);
            $slideshow = $gallery_layout == 'slideshow' ? true : false;
            $size = $media_pos == 'zilla-media-center' ? 'portfolio-full' : 'portfolio-index';
            zilla_gallery($post->ID, $size, $slideshow, $slideshow);
        }
        if ($portfolio_display_video == 'on') {
            $embed = get_post_meta($post->ID, '_zilla_video_embed_code', true);
            if (!empty($embed)) {
                echo stripslashes(htmlspecialchars_decode($embed));
            } else {
                zilla_video($post->ID, $width);
            }
        }
        if ($portfolio_display_audio == 'on') {
            zilla_audio($post->ID, $width);
        }
        ?>
						<!--END .entry-media -->
						</div>
<div class="post-thumb">

	<?php 
$gallery_layout = get_post_meta($post->ID, '_zilla_gallery_layout', true);
$slideshow = $gallery_layout == 'slideshow' ? true : false;
zilla_gallery($post->ID, 'blog-index', $slideshow);
?>
	
</div>

<?php 
if (is_single()) {
    ?>

	<h1 class="entry-title"><?php 
    the_title();
    ?>
</h1>

	<?php 
    get_template_part('content', 'meta-header');
    ?>

<?php 
}
?>

<!--BEGIN .entry-content -->
<div class="entry-content">
	
	<?php