Content of index.php from minimalissimplistic.zip

without / with line numbers
  1. <?php 
    
  2. get_header();
    
  3. ?>
    
  4. 
    
  5. <div id="container">
    
  6.     <div id="content">
    
  7.         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
  8.         <?php if ( mytheme_is_asides() and !is_single() ) { ?>
    
  9.         <!-- This post is an aside -->
    
  10. 
    
  11.             <div class="asides">
    
  12.                 <?php echo wptexturize($post->post_content); ?>
    
  13.                 <a href="<?php the_permalink() ?>" rel="bookmark">&laquo;</a>
    
  14.             </div>
    
  15.         
    
  16.         <?php } else { ?>
    
  17. 
    
  18.             <!-- This post is not an asides: do things normally -->
    
  19.             <div class="post">
    
  20.                 <h2 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    
  21.                 <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
    
  22.                 <div class="storycontent">
    
  23.                     <?php the_content(__('(more...)')); ?>
    
  24.                 </div>
    
  25.                 <div class="feedback">
    
  26.                  <?php wp_link_pages(); ?>
    
  27.                  <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    
  28.                 </div>
    
  29.                 <!--
    
  30.                 <?php trackback_rdf(); ?>
    
  31.                 -->
    
  32.             </div>
    
  33.             <div id="comment">
    
  34.                 <?php comments_template(); // Get wp-comments.php template ?>
    
  35.             </div>
    
  36.         
    
  37.         <?php } ?> <!-- end of aside or not -->
    
  38. 
    
  39.         <?php endwhile; else: ?>
    
  40.         <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    
  41.         <?php endif; ?>
    
  42.         <?php posts_nav_link(' &#8212; ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?>
    
  43.     </div>
    
  44. 
    
  45.     <div id="menu">
    
  46.     <?php get_sidebar(); ?>
    
  47.     </div>
    
  48. </div>
    
  49. 
    
  50. <?php get_footer(); ?>
    
  51.  

Return to listing of minimalissimplistic.zip