Make WordPress Core


Ignore:
Timestamp:
05/04/2010 07:01:09 AM (15 years ago)
Author:
nacin
Message:

Twenty Ten spacing and string cleanups. props zeo, markmcwilliams. see #13198. Add a twentyten_credits filter, props nathanrice, fixes #12804. Also clean up the generator/credits string.

File:
1 edited

Legend:

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

    r14391 r14433  
    1414?>
    1515
    16 <?php /* Display navigation to next/previous pages when applicable  */ ?>
     16<?php /* Display navigation to next/previous pages when applicable */ ?>
    1717<?php if ( $wp_query->max_num_pages > 1 ) : ?>
    1818    <div id="nav-above" class="navigation">
     
    2222<?php endif; ?>
    2323
    24 <?php /* If there are no posts to display, such as an empty archive page  */ ?>
     24<?php /* If there are no posts to display, such as an empty archive page */ ?>
    2525<?php if ( ! have_posts() ) : ?>
    2626    <div id="post-0" class="post error404 not-found">
     
    3333<?php endif; ?>
    3434
    35 <?php /* Start the Loop  */ ?>
     35<?php /* Start the Loop */ ?>
    3636<?php while ( have_posts() ) : the_post(); ?>
    3737
    38 <?php /* How to Display posts in the Gallery Category  */ ?>
     38<?php /* How to Display posts in the Gallery Category */ ?>
    3939    <?php if ( in_category( _x('gallery', 'gallery category slug', 'twentyten') ) ) : ?>
    4040        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
     
    9292    <?php else : ?>
    9393            <div class="entry-content">
    94                 <?php the_content( __( 'Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
     94                <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
    9595            </div><!-- .entry-content -->
    9696    <?php endif; ?>
     
    113113        </div><!-- #post-<?php the_ID(); ?> -->
    114114
    115 <?php /* How to display all other posts  */ ?>
     115<?php /* How to display all other posts */ ?>
    116116    <?php else : ?>
    117117        <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
     
    137137    <?php else : ?>
    138138            <div class="entry-content">
    139                 <?php the_content( __( 'Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
     139                <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
    140140                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
    141141            </div><!-- .entry-content -->
     
    156156<?php endwhile; ?>
    157157
    158 <?php /* Display navigation to next/previous pages when applicable  */ ?>
     158<?php /* Display navigation to next/previous pages when applicable */ ?>
    159159<?php if (  $wp_query->max_num_pages > 1 ) : ?>
    160160                <div id="nav-below" class="navigation">
Note: See TracChangeset for help on using the changeset viewer.