Make WordPress Core


Ignore:
Timestamp:
02/12/2006 07:53:23 AM (19 years ago)
Author:
ryan
Message:

Death to trailing tabs. Props Mark J. fixes #2405

File:
1 edited

Legend:

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

    r3006 r3517  
    66
    77         <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    8 <?php /* If this is a category archive */ if (is_category()) { ?>               
     8<?php /* If this is a category archive */ if (is_category()) { ?>
    99        <h2 class="pagetitle">Archive for the '<?php echo single_cat_title(); ?>' Category</h2>
    10        
     10
    1111      <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
    1212        <h2 class="pagetitle">Archive for <?php the_time('F jS, Y'); ?></h2>
    13        
     13
    1414     <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
    1515        <h2 class="pagetitle">Archive for <?php the_time('F, Y'); ?></h2>
     
    1717        <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
    1818        <h2 class="pagetitle">Archive for <?php the_time('Y'); ?></h2>
    19        
     19
    2020      <?php /* If this is a search */ } elseif (is_search()) { ?>
    2121        <h2 class="pagetitle">Search Results</h2>
    22        
     22
    2323      <?php /* If this is an author archive */ } elseif (is_author()) { ?>
    2424        <h2 class="pagetitle">Author Archive</h2>
     
    3939                <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    4040                <small><?php the_time('l, F jS, Y') ?></small>
    41                
     41
    4242                <div class="entry">
    4343                    <?php the_content() ?>
    4444                </div>
    45        
     45
    4646                <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
    4747
    4848            </div>
    49    
     49
    5050        <?php endwhile; ?>
    5151
     
    5454            <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    5555        </div>
    56    
     56
    5757    <?php else : ?>
    5858
     
    6161
    6262    <?php endif; ?>
    63        
     63
    6464    </div>
    6565
Note: See TracChangeset for help on using the changeset viewer.