Changeset 13128 for trunk/wp-content/themes/twentyten/single.php
- Timestamp:
- 02/14/2010 01:00:22 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/single.php
r13111 r13128 7 7 8 8 <div id="nav-above" class="navigation"> 9 <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">←</span> %title' ) ?></div>10 <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">→</span>' ) ?></div>9 <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">←</span> %title' ); ?></div> 10 <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">→</span>' ); ?></div> 11 11 </div><!-- #nav-above --> 12 12 … … 15 15 16 16 <div class="entry-meta"> 17 <span class="meta-prep meta-prep-author"><?php _e('Posted by ', 'twentyten'); ?></span> 18 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php the_author(); ?></a></span> 19 <span class="meta-sep"> <?php _e('on ', 'twentyten'); ?> </span> 20 <a href="<?php 21 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a> 22 <?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" ) ?> 17 <span class="meta-prep meta-prep-author"><?php _e( 'Posted by ', 'twentyten' ); ?></span> 18 <span class="author vcard"><a class="url fn n" href="<?php echo get_author_posts_url( $authordata->ID, $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php the_author(); ?></a></span> 19 <span class="meta-sep"><?php _e( ' on ', 'twentyten' ); ?> </span> 20 <a href="<?php the_permalink(); ?>" title="<?php the_time(); ?>" rel="bookmark"><span class="entry-date"><?php echo get_the_date(); ?></span></a> 21 <?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" ); ?> 23 22 </div><!-- .entry-meta --> 24 23 25 24 <div class="entry-content"> 26 <?php the_content(); ?>27 <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>')?>25 <?php the_content(); ?> 26 <?php wp_link_pages( 'before=<div class="page-link">' . __( 'Pages:', 'twentyten' ) . '&after=</div>' ); ?> 28 27 </div><!-- .entry-content --> 29 28 … … 31 30 <div id="entry-author-info"> 32 31 <div id="author-avatar"> 33 <?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?>32 <?php echo get_avatar( get_the_author_meta('user_email'), apply_filters('twentyten_author_bio_avatar_size', 60) ); ?> 34 33 </div><!-- #author-avatar --> 35 34 <div id="author-description"> 36 <h2><?php _e( 'About ', 'twentyten'); ?><?php the_author(); ?></h2>37 <?php the_author_meta('description'); ?>35 <h2><?php _e( 'About ', 'twentyten' ); ?><?php the_author(); ?></h2> 36 <?php the_author_meta('description'); ?> 38 37 <div id="author-link"> 39 <a href="<?php echo get_author_posts_url( $authordata->ID , $authordata->user_nicename ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), $authordata->display_name ); ?>"><?php _e('View all posts by ', 'twentyten'); ?><?php the_author(); ?> →</a>38 <a href="<?php echo get_author_posts_url( $authordata->ID ); ?>" title="<?php printf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ); ?>"><?php _e( 'View all posts by ', 'twentyten' ); ?><?php the_author(); ?> →</a> 40 39 </div><!-- #author-link --> 41 40 </div><!-- #author-description --> … … 49 48 get_permalink(), 50 49 the_title_attribute('echo=0'), 51 get_post_comments_feed_link() ) ?>50 get_post_comments_feed_link() ); ?> 52 51 53 <?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ) ?>52 <?php edit_post_link( __( 'Edit', 'twentyten' ), "\n\t\t\t\t\t<span class=\"edit-link\">", "</span>" ); ?> 54 53 </div><!-- .entry-utility --> 55 54 </div><!-- #post-<?php the_ID(); ?> --> 56 55 57 56 <div id="nav-below" class="navigation"> 58 <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">←</span> %title' ) ?></div>59 <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">→</span>' ) ?></div>57 <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">←</span> %title' ); ?></div> 58 <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">→</span>' ); ?></div> 60 59 </div><!-- #nav-below --> 61 60 62 <?php comments_template('', true); ?>61 <?php comments_template( '', true ); ?> 63 62 64 63 </div><!-- #content -->
Note: See TracChangeset
for help on using the changeset viewer.