Changeset 13889
- Timestamp:
- 03/30/2010 01:12:36 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/functions.php
r13888 r13889 200 200 */ 201 201 function twentyten_the_page_number() { 202 if ( get_query_var( 'paged' ) ) 203 echo ' | ' . __( 'Page ' , 'twentyten' ) . get_query_var( 'paged' ); 202 global $paged; // Contains page number. 203 if ( $paged >= 2 ) 204 echo ' | ' . sprintf( __( 'Page %s' , 'twentyten' ), $paged ); 204 205 } 205 206 endif;
Note: See TracChangeset
for help on using the changeset viewer.