Make WordPress Core


Ignore:
Timestamp:
05/03/2010 07:16:47 PM (16 years ago)
Author:
iammattthomas
Message:

In Twenty Ten:

  • removed custom functions for listing tags, cats, or other custom taxonomy terms.
  • fixed up a couple of span tags meant to catch the text before tag and cat listings (for child themes)
  • made attachment pages full width with a filterable size for the image, 'twentyten_attachment_size' (for child themes)
  • removed "RSS for this post" in single.php.

clicking on attachment images in a gallery takes you to the next image, unless it's the last image in a gallery, in which case it points you back to the parent post.

  • added a link to the full-size image in the post meta

Props iandstewart.

File:
1 edited

Legend:

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

    r14350 r14384  
    143143
    144144            <div class="entry-utility">
    145                 <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php echo twentyten_cat_list(); ?></span></span>
     145                <span class="cat-links"><span class="entry-utility-prep entry-utility-prep-cat-links"><?php _e( 'Posted in ', 'twentyten' ); ?></span><?php the_category( ', ' ); ?></span>
    146146                <span class="meta-sep"> | </span>
    147                 <?php $tags_text = twentyten_tag_list(); ?>
    148                 <?php if ( ! empty( $tags_text ) ) : ?>
    149                 <span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links"><?php echo $tags_text; ?></span></span>
    150                 <span class="meta-sep"> | </span>
    151                 <?php endif; //$tags_text ?>
     147                <?php the_tags( '<span class="tag-links"><span class="entry-utility-prep entry-utility-prep-tag-links">' . __( 'Tagged ', 'twentyten' ) . '</span>', ', ', '<span class="meta-sep"> | </span>' ); ?>
    152148                <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
    153149                <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
Note: See TracChangeset for help on using the changeset viewer.