Blog Customisations

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:

	<?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 : ?>
	<?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:

		'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',
		'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',