Example #1
0
<?php

get_header();
?>

<div id="content" class="row">

	<div id="main" class="<?php 
simple_boostrap_main_classes();
?>
" role="main">

		<?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
		
		<?php 
        simple_boostrap_display_post(false);
        ?>
		
		<?php 
        comments_template('', true);
        ?>
		
		<?php 
    }
    ?>
		
		
<?php
 
get_header(); 
?>

<div id="content" role="main" class="row">
    
    <div class="breadcrumb">
        <?php if (function_exists('qt_custom_breadcrumbs')) qt_custom_breadcrumbs(); ?>
    </div>
    <div id="main" class="<?php simple_boostrap_main_classes(); ?>" role="main">
    
    <?php if( have_posts() ) : ?><?php while( have_posts() ) : the_post();?>
      <?php simple_boostrap_display_post(false); ?>
    <?php endwhile; ?>
    
    <?php else: ?>
    
      <article id="post-not-found" class="block">
        <p><?php _e("No posts found.", "simple-bootstrap"); ?></p>
    </article>
    
    <?php endif; ?>
   
    </div><!-- #content -->
    <?php get_sidebar("left"); ?>
  <?php get_sidebar("right"); ?>

</div><!--#primary-->
<?php get_footer(); ?>