Make WordPress Core


Ignore:
Timestamp:
01/04/2005 05:20:06 AM (20 years ago)
Author:
rboren
Message:

Make Kubrick the new default. The old default is available as the Classic theme.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/index.php

    r2032 r2040  
    1 <?php
    2 get_header();
    3 ?>
     1<?php get_header(); ?>
    42
    5 <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
     3    <div id="content" class="narrowcolumn">
    64
    7 <?php the_date('','<h2>','</h2>'); ?>
     5    <?php if (have_posts()) : ?>
     6       
     7        <?php while (have_posts()) : the_post(); ?>
     8               
     9            <div class="post">
     10                <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
     11                <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
     12               
     13                <div class="entry">
     14                    <?php the_content('Read the rest of this entry &raquo;'); ?>
     15                </div>
     16       
     17                <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
     18               
     19                <!--
     20                <?php trackback_rdf(); ?>
     21                -->
     22            </div>
    823   
    9 <div class="post">
    10      <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
    11     <div class="meta"><?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_author() ?> @ <?php the_time() ?> <?php edit_post_link(__('Edit This')); ?></div>
    12    
    13     <div class="storycontent">
    14         <?php the_content(__('(more...)')); ?>
     24        <?php endwhile; ?>
     25
     26        <div class="navigation">
     27            <div class="alignleft"><?php posts_nav_link('','','&laquo; Previous Entries') ?></div>
     28            <div class="alignright"><?php posts_nav_link('','Next Entries &raquo;','') ?></div>
     29        </div>
     30       
     31    <?php else : ?>
     32
     33        <h2 class="center">Not Found</h2>
     34        <p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>
     35        <?php include (TEMPLATEPATH . "/searchform.php"); ?>
     36
     37    <?php endif; ?>
     38
    1539    </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     <!--
    23     <?php trackback_rdf(); ?>
    24     -->
    2540
    26 </div>
    27 
    28 <?php comments_template( is_single() ); // 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; Previous Page'), __('Next Page &raquo;')); ?>
     41<?php get_sidebar(); ?>
    3542
    3643<?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.