Ticket #12695: 12695-comment.diff
File 12695-comment.diff, 7.8 KB (added by , 15 years ago) |
---|
-
wp-content/themes/twentyten/footer.php
3 3 * The template for displaying the footer. 4 4 * 5 5 * Contains the closing of the id=main div and all content 6 * after. 6 * after. Calls sidebar-footer.php for bottom widgets. 7 7 * 8 8 * @package WordPress 9 9 * @subpackage Twenty_Ten -
wp-content/themes/twentyten/style.css
902 902 font-size: 20px; 903 903 margin-bottom: 0; 904 904 } 905 .nopassword, 905 906 h3#comments-title { 906 907 padding: 24px 0; 907 908 } … … 1334 1335 .home .sticky { 1335 1336 border: none; 1336 1337 } 1337 } 1338 No newline at end of file 1338 } -
wp-content/themes/twentyten/author.php
32 32 <div id="entry-author-info"> 33 33 <div id="author-avatar"> 34 34 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?> 35 </div><!-- #author-avatar 35 </div><!-- #author-avatar --> 36 36 <div id="author-description"> 37 37 <h2><?php printf( __( 'About %s', 'twentyten' ), get_the_author() ); ?></h2> 38 38 <?php the_author_meta( 'description' ); ?> 39 39 </div><!-- #author-description --> 40 </div><!-- .entry-author-info -->40 </div><!-- #entry-author-info --> 41 41 <?php endif; ?> 42 42 43 43 <?php -
wp-content/themes/twentyten/loop.php
2 2 /** 3 3 * The loop that displays posts. 4 4 * 5 * The loop displays the posts and the post content. 5 * The loop displays the posts and the post content. See 6 6 * http://codex.wordpress.org/The_Loop to understand it and 7 7 * http://codex.wordpress.org/Template_Tags to understand 8 8 * the tags used in it. … … 82 82 <span class="meta-sep">|</span> 83 83 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> 84 84 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 85 </div><!-- #entry-utility -->85 </div><!-- .entry-utility --> 86 86 </div> 87 87 88 88 <?php /* How to display posts in the asides category */ ?> … … 105 105 <span class="meta-sep">|</span> 106 106 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> 107 107 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 108 </div><!-- #entry-utility -->108 </div><!-- .entry-utility --> 109 109 </div><!-- #post-(id) --> 110 110 111 111 <?php /* How to display all other posts. */ ?> … … 147 147 <?php endif; ?> 148 148 <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span> 149 149 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?> 150 </div><!-- #entry-utility -->151 </div><!-- #post- <?php the_ID(); ?>-->150 </div><!-- .entry-utility --> 151 </div><!-- #post-(id) --> 152 152 153 153 <?php comments_template( '', true ); ?> 154 154 -
wp-content/themes/twentyten/onecolumn-page.php
27 27 <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> 28 28 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?> 29 29 </div><!-- .entry-content --> 30 </div><!-- #post- <?php the_ID(); ?>-->30 </div><!-- #post-(id) --> 31 31 32 32 <?php comments_template( '', true ); ?> 33 33 -
wp-content/themes/twentyten/page.php
32 32 <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> 33 33 <?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="edit-link">', '</span>' ); ?> 34 34 </div><!-- .entry-content --> 35 </div><!-- #post- <?php the_ID(); ?>-->35 </div><!-- #post-(id) --> 36 36 37 37 <?php comments_template( '', true ); ?> 38 38 -
wp-content/themes/twentyten/single.php
46 46 </a> 47 47 </div><!-- #author-link --> 48 48 </div><!-- #author-description --> 49 </div><!-- .entry-author-info -->49 </div><!-- #entry-author-info --> 50 50 <?php endif; ?> 51 51 52 52 <div class="entry-utility"> -
wp-content/themes/twentyten/comments.php
3 3 * The template for displaying Comments. 4 4 * 5 5 * The area of the page that contains both current comments 6 * and the comment form. 6 * and the comment form. The actual display of comments is 7 7 * handled by a callback to twentyten_comment which is 8 8 * located in the functions.php file. 9 9 * … … 16 16 <div id="comments"> 17 17 <?php if ( post_password_required() ) : ?> 18 18 <div class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></div> 19 </div><!-- .comments -->19 </div><!-- #comments --> 20 20 <?php 21 21 /* Stop the rest of comments.php from being processed, 22 22 * but don't kill the script entirely -- we still have … … 70 70 if ( ! comments_open() ) : 71 71 ?> 72 72 <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten' ); ?></p> 73 <?php endif; // end ! comments_open ed() ?>73 <?php endif; // end ! comments_open() ?> 74 74 75 75 <?php endif; // end have_comments() ?> 76 76 -
wp-content/themes/twentyten/attachment.php
82 82 <?php else : ?> 83 83 <a href="<?php echo wp_get_attachment_url(); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment"><?php echo basename( get_permalink() ); ?></a> 84 84 <?php endif; ?> 85 </div> 85 </div><!-- .entry-attachment --> 86 86 <div class="entry-caption"><?php if ( !empty( $post->post_excerpt ) ) the_excerpt(); ?></div> 87 87 88 88 <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) ); ?> … … 94 94 <?php twentyten_posted_in(); ?> 95 95 <?php edit_post_link( __( 'Edit', 'twentyten' ), ' <span class="edit-link">', '</span>' ); ?> 96 96 </div><!-- .entry-utility --> 97 </div><!-- #post- <?php the_ID(); ?>-->97 </div><!-- #post-(id) --> 98 98 99 99 <?php comments_template(); ?> 100 100