WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/08/2010 06:02:23 PM (12 years ago)
Author:
ryan
Message:

Trim trailing whitespace

File:
1 edited

Legend:

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

    r13012 r13025  
    11<?php get_header(); ?>
    2    
    3         <div id="container">   
     2
     3        <div id="container">
    44            <div id="content">
    5            
    6 <?php the_post(); ?>           
    7            
     5
     6<?php the_post(); ?>
     7
    88<?php if ( is_day() ) : ?>
    99                <h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_time(get_option('date_format')) ) ?></h1>
     
    1717
    1818<?php rewind_posts(); ?>
    19            
     19
    2020<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
    2121                <div id="nav-above" class="navigation">
     
    2323                    <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    2424                </div><!-- #nav-above -->
    25 <?php } ?>         
     25<?php } ?>
    2626
    2727<?php while ( have_posts() ) : the_post(); ?>
     
    3535        the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' ) ); ?></span></a>
    3636                        <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span>
    37                         <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>                 
     37                        <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( __( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span>
    3838                    </div><!-- .entry-meta -->
    3939
    40                     <div class="entry-summary"> 
     40                    <div class="entry-summary">
    4141<?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
    4242                    </div><!-- .entry-summary -->
     
    4848                        <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
    4949                        <?php edit_post_link( __( 'Edit', 'twentyten' ), "<span class=\"meta-sep\">|</span>\n\t\t\t\t\t\t<span class=\"edit-link\">", "</span>\n\t\t\t\t\t\n" ) ?>
    50                     </div><!-- #entry-utility -->   
     50                    </div><!-- #entry-utility -->
    5151                </div><!-- #post-<?php the_ID(); ?> -->
    5252
    53 <?php endwhile; ?>         
     53<?php endwhile; ?>
    5454
    5555<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
     
    5858                    <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    5959                </div><!-- #nav-below -->
    60 <?php } ?>         
    61            
    62             </div><!-- #content -->     
     60<?php } ?>
     61
     62            </div><!-- #content -->
    6363        </div><!-- #container -->
    64        
    65 <?php get_sidebar(); ?> 
     64
     65<?php get_sidebar(); ?>
    6666<?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.