Content of index.php from minimalissimplistic.zip

without / with line numbers
  1. <?php 
  2. get_header();
  3. ?>

  4. <div id="container">
  5.     <div id="content">
  6.         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  7.         <?php if ( mytheme_is_asides() and !is_single() ) { ?>
  8.         <!-- This post is an aside -->

  9.             <div class="asides">
  10.                 <?php echo wptexturize($post->post_content); ?>
  11.                 <a href="<?php the_permalink() ?>" rel="bookmark">&laquo;</a>
  12.             </div>
  13.         
  14.         <?php } else { ?>

  15.             <!-- This post is not an asides: do things normally -->
  16.             <div class="post">
  17.                 <h2 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
  18.                 <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(','?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
  19.                 <div class="storycontent">
  20.                     <?php the_content(__('(more...)')); ?>
  21.                 </div>
  22.                 <div class="feedback">
  23.                  <?php wp_link_pages(); ?>
  24.                  <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
  25.                 </div>
  26.                 <!--
  27.                 <?php trackback_rdf(); ?>
  28.                 -->
  29.             </div>
  30.             <div id="comment">
  31.                 <?php comments_template(); // Get wp-comments.php template ?>
  32.             </div>
  33.         
  34.         <?php ?> <!-- end of aside or not -->

  35.         <?php endwhile; else: ?>
  36.         <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
  37.         <?php endif; ?>
  38.         <?php posts_nav_link(' &#8212; '__('&laquo; Previous Page'), __('Next Page &raquo;')); ?>
  39.     </div>

  40.     <div id="menu">
  41.     <?php get_sidebar(); ?>
  42.     </div>
  43. </div>

  44. <?php get_footer(); ?>
  45.  

Return to listing of minimalissimplistic.zip