Changeset 13029 for trunk/wp-content/themes/twentyten/functions.php
- Timestamp:
- 02/08/2010 08:28:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyten/functions.php
r13025 r13029 50 50 // Get the page number 51 51 function get_page_number() { 52 if ( get_query_var('paged') ) {52 if ( get_query_var('paged') ) 53 53 print ' | ' . __( 'Page ' , 'twentyten') . get_query_var('paged'); 54 }55 54 } // end get_page_number 56 55 … … 67 66 // Make a nice read more link on excerpts 68 67 function new_excerpt_more($more) { 69 return ' … <a href="'. get_permalink($post->ID) . '">' . 'Continue reading <span class="meta-nav">→</span>' . '</a>';68 return ' … <a href="'. get_permalink() . '">' . 'Continue reading <span class="meta-nav">→</span>' . '</a>'; 70 69 } 71 70 add_filter('excerpt_more', 'new_excerpt_more'); … … 125 124 function remove_gallery_css() { 126 125 return "<div class='gallery'>"; 127 128 126 } 127 add_filter('gallery_style', 'remove_gallery_css'); 129 128 130 129 … … 241 240 // Add all the groovy widget areas 242 241 add_action( 'init', 'theme_widgets_init' ); 243 244
Note: See TracChangeset
for help on using the changeset viewer.