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

    r14289 r14384  
    5555                        $tag_list = get_the_tag_list('', ', ');
    5656                        if ( '' != $tag_list ) {
    57                             $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'twentyten' );
     57                            $utility_text = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' );
    5858                        } else {
    59                             $utility_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>. Follow any comments here with the <a href="%5$s" title="Comments RSS to %4$s" rel="alternate" type="application/rss+xml">RSS feed for this post</a>.', 'twentyten' );
     59                            $utility_text = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' );
    6060                        }
    6161                        printf(
     
    6464                            $tag_list,
    6565                            get_permalink(),
    66                             the_title_attribute( 'echo=0' ),
    67                             get_post_comments_feed_link()
     66                            the_title_attribute( 'echo=0' )
    6867                        );
    6968                    ?>
Note: See TracChangeset for help on using the changeset viewer.