home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Blogs / wordpress2.6.exe / wordpress2.6 / wp-content / themes / classic / index.php < prev    next >
Encoding:
PHP Script  |  2008-05-02  |  1.0 KB  |  33 lines

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