?>
</div>
<div class="row">
- <div id="main-content" class="small-12 columns">
- <?php if(have_posts()) : while(have_posts()): the_post();?>
- <?php the_content();?>
- <?php endwhile; else:?>
- <p><?php _e('Sorry, no posts yet');?></p>
- <?php endif;?>
- </div>
+ <?php get_template_part('parts/main-content');?>
<!--
<div class="small-12 medium-6 large-4 columns small-text-center medium-text-left">
<?php //get_sidebar(); ?>
?>
</div>
<div class="row">
- <div id="main-content" class="small-12 columns">
- <?php if(have_posts()) : while(have_posts()): the_post();?>
- <?php the_content();?>
- <?php endwhile; else:?>
- <p><?php _e('Sorry, no results found.');?></p>
- <?php endif;?>
- </div>
+ <?php get_template_part('parts/main-content');?>
<!--
<div class="small-12 medium-6 large-4 columns small-text-center medium-text-left">
<?php //get_sidebar(); ?>
--- /dev/null
+ <div id="main-content" class="small-12 columns">
+ <?php if(have_posts()) : while(have_posts()): the_post();?>
+ <?php the_content();?>
+ <?php endwhile; else:?>
+ <p><?php _e('Sorry, no posts yet');?></p>
+ <?php endif;?>
+ </div>
\ No newline at end of file