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/category.php

    r13012 r13025  
    11
    22<?php get_header(); ?>
    3    
    4         <div id="container">   
     3
     4        <div id="container">
    55            <div id="content">
    6            
    7 <?php the_post(); ?>           
    8            
     6
     7<?php the_post(); ?>
     8
    99                <h1 class="page-title"><?php _e( 'Category Archives:', 'twentyten' ) ?> <span><?php single_cat_title() ?></span></span></h1>
    1010                <?php $categorydesc = category_description(); if ( !empty($categorydesc) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?>
    1111
    1212<?php rewind_posts(); ?>
    13            
     13
    1414<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
    1515                <div id="nav-above" class="navigation">
     
    1717                    <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    1818                </div><!-- #nav-above -->
    19 <?php } ?>         
     19<?php } ?>
    2020
    2121<?php while ( have_posts() ) : the_post(); ?>
     
    2929        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>
    3030                        <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span>
    31                         <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>                 
     31                        <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>
    3232                    </div><!-- .entry-meta -->
    33                    
    34                     <div class="entry-summary"> 
     33
     34                    <div class="entry-summary">
    3535<?php the_excerpt( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' )  ); ?>
    3636                    </div><!-- .entry-summary -->
    37            
     37
    3838                    <div class="entry-utility">
    3939<?php if ( $cats_meow = cats_meow(', ') ) : // Returns categories other than the one queried ?>
     
    4444                        <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ) ?></span>
    4545                        <?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" ) ?>
    46                     </div><!-- #entry-utility -->   
     46                    </div><!-- #entry-utility -->
    4747                </div><!-- #post-<?php the_ID(); ?> -->
    4848
    49 <?php endwhile; ?>         
     49<?php endwhile; ?>
    5050
    5151<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
     
    5454                    <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentyten' )) ?></div>
    5555                </div><!-- #nav-below -->
    56 <?php } ?>         
    57            
    58             </div><!-- #content -->     
     56<?php } ?>
     57
     58            </div><!-- #content -->
    5959        </div><!-- #container -->
    60        
    61 <?php get_sidebar(); ?> 
     60
     61<?php get_sidebar(); ?>
    6262<?php get_footer(); ?>
Note: See TracChangeset for help on using the changeset viewer.