Changeset 13109
- Timestamp:
- 02/13/2010 11:09:51 AM (12 years ago)
- Location:
- trunk/wp-content/themes/twentyten
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/archive.php
r13029 r13109 7 7 8 8 <?php if ( is_day() ) : ?> 9 <h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_time( get_option('date_format')) ) ?></h1>9 <h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'twentyten' ), get_the_time() ) ?></h1> 10 10 <?php elseif ( is_month() ) : ?> 11 11 <h1 class="page-title"><?php printf( __( 'Monthly Archives: <span>%s</span>', 'twentyten' ), get_the_time('F Y') ) ?></h1> … … 33 33 <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span> 34 34 <a href="<?php 35 the_permalink(); ?>" title="<?php echo esc_attr( get_the_time('Y-m-d\TH:i:sO') ); ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' )); ?></span></a>35 the_permalink(); ?>" title="<?php echo esc_attr( get_the_time('Y-m-d\TH:i:sO') ); ?>" rel="bookmark"><span class="entry-date"><?php the_time(); ?></span></a> 36 36 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 37 37 <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> -
trunk/wp-content/themes/twentyten/attachment.php
r13105 r13109 16 16 <span class="meta-sep"> | </span> 17 17 <span class="meta-prep meta-prep-entry-date"><?php _e('Published ', 'twentyten'); ?></span> 18 <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time( get_option( 'date_format' )); ?></abbr></span>18 <span class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO') ?>"><?php the_time(); ?></abbr></span> 19 19 <?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" ) ?> 20 20 </div><!-- .entry-meta --> … … 22 22 <div class="entry-content"> 23 23 <div class="entry-attachment"> 24 <?php if ( wp_attachment_is_image( $post->ID ) ) : $att_image = wp_get_attachment_image_src( $post->ID, array(640, 640)); ?> 25 <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><img src="<?php echo $att_image[0];?>" width="<?php echo $att_image[1];?>" height="<?php echo $att_image[2];?>" class="attachment-medium" alt="<?php $post->post_excerpt; ?>" /></a> 26 </p> 24 <?php if ( wp_attachment_is_image( $post->ID ) ) : ?> 25 <p class="attachment"><a href="<?php echo wp_get_attachment_url($post->ID); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><?php 26 echo wp_get_attachment_image( $post->ID, array($content_width, $content_width) ); // max $content_width wide or high. 27 ?></a></p> 27 28 28 29 … … 32 33 </div><!-- #nav-below --> 33 34 <?php else : ?> 34 <a href="<?php echo wp_get_attachment_url($post->ID) ?>" title="<?php echo esc_attr( get_the_title($post->ID) ); ?>" rel="attachment"><?php echo basename( $post->guid) ?></a>35 <a href="<?php echo wp_get_attachment_url($post->ID) ?>" title="<?php echo esc_attr( get_the_title($post->ID) ); ?>" rel="attachment"><?php echo basename(get_permalink()) ?></a> 35 36 <?php endif; ?> 36 37 </div> -
trunk/wp-content/themes/twentyten/author.php
r13029 r13109 37 37 <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span> 38 38 <a href="<?php 39 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' )); ?></span></a>39 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time(); ?></span></a> 40 40 </div><!-- .entry-meta --> 41 41 -
trunk/wp-content/themes/twentyten/category.php
r13029 r13109 27 27 <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span> 28 28 <a href="<?php 29 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' )); ?></span></a>29 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time(); ?></span></a> 30 30 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 31 31 <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> -
trunk/wp-content/themes/twentyten/index.php
r13105 r13109 19 19 <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span> 20 20 <a href="<?php 21 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' )); ?></span></a>21 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time(); ?></span></a> 22 22 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 23 23 <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> … … 25 25 26 26 <div class="entry-content"> 27 <div class="gallery-thumb"><a class="size-thumbnail" href="<?php permalink_link() ?>"><?php27 <div class="gallery-thumb"><a class="size-thumbnail" href="<?php the_permalink() ?>"><?php 28 28 $images =& get_children( array('post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999) ); 29 29 $total_images = count($images); … … 61 61 <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span> 62 62 <a href="<?php 63 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' )); ?></span></a>63 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time(); ?></span></a> 64 64 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 65 65 <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> -
trunk/wp-content/themes/twentyten/search.php
r13029 r13109 24 24 <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span> 25 25 <a href="<?php 26 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' )); ?></span></a>26 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time(); ?></span></a> 27 27 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 28 28 <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> -
trunk/wp-content/themes/twentyten/single.php
r13029 r13109 19 19 <span class="meta-sep"> <?php _e('on ', 'twentyten'); ?> </span> 20 20 <a href="<?php 21 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' )); ?></span></a>21 the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time(); ?></span></a> 22 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" ) ?> 23 23 </div><!-- .entry-meta --> -
trunk/wp-content/themes/twentyten/tag.php
r13029 r13109 24 24 <div class="entry-meta"> 25 25 <span class="meta-prep meta-prep-author"><?php _e('Posted on ', 'twentyten'); ?></span> 26 <a href="<?php the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time( get_option( 'date_format' )); ?></span></a>26 <a href="<?php the_permalink(); ?>" title="<?php the_time('Y-m-d\TH:i:sO') ?>" rel="bookmark"><span class="entry-date"><?php the_time(); ?></span></a> 27 27 <span class="meta-sep"> <?php _e('by ', 'twentyten'); ?> </span> 28 28 <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>
Note: See TracChangeset
for help on using the changeset viewer.