Make WordPress Core


Ignore:
Timestamp:
05/21/2010 06:56:27 PM (16 years ago)
Author:
nacin
Message:

In Twenty Ten, final pass on inline docs et al. props jorbin, zeo. fixes #12695.

File:
1 edited

Legend:

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

    r14708 r14786  
    77 * http://codex.wordpress.org/Template_Tags to understand
    88 * the tags used in it.
     9 *
     10 * This can be overridden in child themes with loop.php or
     11 * loop-template.php, where 'template' is the loop context
     12 * requested by a template. For example, loop-index.php would
     13 * be used if it exists and we ask for the loop with:
     14 * <code>get_template_part( 'loop', 'index' );</code>
    915 *
    1016 * @package WordPress
     
    6975?>
    7076                    <a class="size-thumbnail" href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
    71                 </div>
     77                </div><!-- .gallery-thumb -->
    7278                <p><em><?php printf( __( 'This gallery contains <a %1$s>%2$s photos</a>.', 'twentyten' ),
    7379                        'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
     
    8389                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
    8490                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    85             </div><!-- #entry-utility -->
    86         </div>
     91            </div><!-- .entry-utility -->
     92        </div><!-- #post-## -->
    8793
    8894<?php /* How to display posts in the asides category */ ?>
     
    106112                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
    107113                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    108             </div><!-- #entry-utility -->
    109         </div><!-- #post-(id) -->
     114            </div><!-- .entry-utility -->
     115        </div><!-- #post-## -->
    110116
    111117<?php /* How to display all other posts. */ ?>
     
    148154                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
    149155                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
    150             </div><!-- #entry-utility -->
     156            </div><!-- .entry-utility -->
    151157        </div><!-- #post-<?php the_ID(); ?> -->
    152158
Note: See TracChangeset for help on using the changeset viewer.