Changeset 13129
- Timestamp:
- 02/14/2010 01:12:51 AM (15 years ago)
- Location:
- trunk/wp-content/themes/twentyten
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/attachment.php
r13128 r13129 22 22 <div class="entry-content"> 23 23 <div class="entry-attachment"> 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"><?php26 echo wp_get_attachment_image( $post->ID, array($content_width, $content_width) ); // max $content_width wide or high.27 ?></a></p>24 <?php if ( wp_attachment_is_image() ) : ?> 25 <p class="attachment"><a href="<?php echo wp_get_attachment_url(); ?>" 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> 28 28 29 30 <div id="nav-below" class="navigation"> 31 <div class="nav-previous"><?php previous_image_link( false ); ?></div> 32 <div class="nav-next"><?php next_image_link( false ); ?></div> 33 </div><!-- #nav-below --> 34 <?php else : ?> 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> 36 <?php endif; ?> 29 <div id="nav-below" class="navigation"> 30 <div class="nav-previous"><?php previous_image_link( false ); ?></div> 31 <div class="nav-next"><?php next_image_link( false ); ?></div> 32 </div><!-- #nav-below --> 33 <?php else : ?> 34 <a href="<?php echo wp_get_attachment_url(); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><?php echo basename(get_permalink()); ?></a> 35 <?php endif; ?> 37 36 </div> 38 37 <div class="entry-caption"><?php if ( !empty($post->post_excerpt) ) the_excerpt(); ?></div> -
trunk/wp-content/themes/twentyten/comments.php
r13128 r13129 29 29 30 30 <ol class="commentlist"> 31 <?php wp_list_comments( array('callback' => 'twentyten_ comment') ); ?>31 <?php wp_list_comments( array('callback' => 'twentyten_list_comment') ); ?> 32 32 </ol> 33 33 -
trunk/wp-content/themes/twentyten/functions.php
r13128 r13129 99 99 // Make the Visual Editor styles match the theme's styles 100 100 function twentyten_my_editor_style( $url ) { 101 if ( !empty($url) ) 102 $url .= ','; 101 if ( !empty($url) ) 102 $url .= ','; 103 103 104 // Change the path here if using sub-directory 104 105 $url .= trailingslashit( get_stylesheet_directory_uri() ) . 'editor-style.css';
Note: See TracChangeset
for help on using the changeset viewer.