Advertisement
Guest User

indexphp

a guest
Feb 2nd, 2014
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.04 KB | None | 0 0
  1. <?php
  2. /**
  3.  * The template for displaying all content.
  4.  *
  5.  * If there aren't any other templates present to
  6.  * display content, it falls back to index.php
  7.  *
  8.  * @package required+ Foundation
  9.  * @since required+ Foundation 0.1.0
  10.  */
  11.  
  12. get_header(); ?>
  13.  
  14.     <!-- Row for main content area -->
  15.     <div id="content" class="row">
  16.  
  17.         <div id="main" class="eight columns" role="main">
  18.  
  19.             <div class="post-box">
  20.  
  21.             <?php if ( have_posts() ) : ?>
  22.  
  23.                 <?php while ( have_posts() ) : the_post(); ?>
  24.  
  25.                     <?php get_template_part( 'content', get_post_format() ); ?>
  26.  
  27.                 <?php endwhile; ?>
  28.  
  29.             <?php else : ?>
  30.                 <?php get_template_part( 'content', 'none' ); ?>
  31.             <?php endif; ?>
  32.  
  33.             <?php if ( function_exists( 'required_pagination' ) ) {
  34.                 required_pagination();
  35.             } ?>
  36.             </div>
  37.  
  38.         </div><!-- /#main -->
  39.  
  40.         <aside id="sidebar" class="four columns" role="complementary">
  41.             <div class="sidebar-box">
  42.                 <?php get_sidebar(); ?>
  43.             </div>
  44.         </aside><!-- /#sidebar -->
  45.  
  46.     </div><!-- End Content row -->
  47.  
  48. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement