[ Index ]

PHP Cross Reference of Wordpress 2.9.1

title

Body

[close]

/wp-content/themes/classic/ -> index.php (source)

   1  <?php
   2  /**
   3   * @package WordPress
   4   * @subpackage Classic_Theme
   5   */
   6  get_header();
   7  ?>
   8  
   9  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  10  
  11  <?php the_date('','<h2>','</h2>'); ?>
  12  
  13  <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  14       <h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
  15      <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_tags(__('Tags: '), ', ', ' &#8212; '); ?> <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
  16  
  17      <div class="storycontent">
  18          <?php the_content(__('(more...)')); ?>
  19      </div>
  20  
  21      <div class="feedback">
  22          <?php wp_link_pages(); ?>
  23          <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
  24      </div>
  25  
  26  </div>
  27  
  28  <?php comments_template(); // Get wp-comments.php template ?>
  29  
  30  <?php endwhile; else: ?>
  31  <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
  32  <?php endif; ?>
  33  
  34  <?php posts_nav_link(' &#8212; ', __('&laquo; Newer Posts'), __('Older Posts &raquo;')); ?>
  35  
  36  <?php get_footer(); ?>


Generated: Fri Jan 8 00:19:48 2010 Cross-referenced by PHPXref 0.7