diff --git a/wp-content/themes/twentyten/functions.php b/wp-content/themes/twentyten/functions.php index 4774b1ac17..0e1e9dfeed 100644 --- a/wp-content/themes/twentyten/functions.php +++ b/wp-content/themes/twentyten/functions.php @@ -46,15 +46,11 @@ $locale_file = TEMPLATEPATH . "/languages/$locale.php"; if ( is_readable($locale_file) ) require_once($locale_file); - - // Get the page number function get_page_number() { if ( get_query_var('paged') ) - print ' | ' . __( 'Page ' , 'twentyten') . get_query_var('paged'); -} // end get_page_number - - + echo ' | ' . __( 'Page ' , 'twentyten') . get_query_var('paged'); +} // Control excerpt length function new_excerpt_length($length) { @@ -63,7 +59,6 @@ function new_excerpt_length($length) { add_filter('excerpt_length', 'new_excerpt_length'); - // Make a nice read more link on excerpts function new_excerpt_more($more) { return ' … ' . 'Continue reading '; @@ -71,7 +66,6 @@ function new_excerpt_more($more) { add_filter('excerpt_more', 'new_excerpt_more'); - // Template for comments and pingbacks function twentyten_comment($comment, $args, $depth) { $GLOBALS ['comment'] = $comment; ?> @@ -79,7 +73,7 @@ function twentyten_comment($comment, $args, $depth) { ' . '
-