Ticket #1289: redux_v2_a11y.diff
File redux_v2_a11y.diff, 1.7 KB (added by , 9 years ago) |
---|
-
content.php
22 22 </div><!-- .entry-summary --> 23 23 <?php else : ?> 24 24 <div class="entry-content"> 25 <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'wcbs' ) ); ?> 25 <?php 26 // output accessible read more link 27 the_content( sprintf( 28 __( 'Continue reading %s<span class="meta-nav">→</span>', 'wcbs' ), 29 the_title( '<span class="assistive-text">', '</span> ', false ) 30 ) ); 31 ?> 26 32 <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'wcbs' ), 'after' => '</div>' ) ); ?> 27 33 </div><!-- .entry-content --> 28 34 <?php endif; ?> -
lib/utils/twentyten-functions.php
231 231 * @return string "Continue Reading" link 232 232 */ 233 233 function twentyten_continue_reading_link() { 234 return ' <a href="'. get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'wordcampbase' ) . '</a>'; 234 $link = sprintf( '<a href="%1$s">%2$s</a>', 235 esc_url( get_permalink() ), 236 /* translators: %s: Name of current post */ 237 sprintf( 238 __( 'Continue reading %s <span class="meta-nav">→</span>', 'wordcampbase' ), 239 '<span class="assistive-text">' . get_the_title() . '</span> ' 240 ) 241 ); 242 return $link; 243 // return ' <a href="'. get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'wordcampbase' ) . '</a>'; 235 244 } 236 245 237 246 /**