I noticing that a few changes I made to my blog UI had been lost by upgrading theme’s and base WordPress code. Argg, I must remember to merge stuff when upgrading. I previously had my own theme to help handle this as I’d changed a lot of things about the default 2.x theme.
So this is mainly a note for myself, to help the future me locate and fix pet peeves.
To remove the annoying “continue reading” excerpts from Category/Tag views:
wp-content/themes/twentyten/loop.php line:132
<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<?php else : ?>
to:
<?php if ( is_search() ) : // Only display excerpts for archives and search. ?>
<div class="entry-summary">
<?php the_excerpt(); ?>
</div><!-- .entry-summary -->
<?php else : ?>
and remove all the comment formatting junk that nobody uses and that clutters the Google Webmaster Tools site keywords tool:
wp-includes/comment-template.php line:1539
'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',
'comment_notes_after' => '<p class="form-allowed-tags">' . sprintf( __( 'You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: %s' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>',
'id_form' => 'commentform',
to:
'comment_notes_before' => '<p class="comment-notes">' . __( 'Your email address will not be published.' ) . ( $req ? $required_text : '' ) . '</p>',
'comment_notes_after' => '<p class="form-allowed-tags">' . __( 'You may use a subset of HTML tags and attributes' ) . '</p>',
'id_form' => 'commentform',