Changeset 23795
- Timestamp:
- 03/25/2013 04:36:27 PM (12 years ago)
- Location:
- trunk/wp-content/themes/twentythirteen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/content-link.php
r23755 r23795 12 12 <header class="entry-header"> 13 13 <h1 class="entry-title"> 14 <a href="<?php echo esc_url( twentythirteen_get_ first_url() ); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>14 <a href="<?php echo esc_url( twentythirteen_get_link_url() ); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a> 15 15 </h1> 16 16 -
trunk/wp-content/themes/twentythirteen/functions.php
r23787 r23795 420 420 endif; 421 421 422 if ( ! function_exists( 'twentythirteen_get_first_url' ) ) :423 422 /** 424 423 * Returns the URL from the post. … … 432 431 * @return string URL 433 432 */ 434 function twentythirteen_get_ first_url() {433 function twentythirteen_get_link_url() { 435 434 $has_url = get_the_url(); 436 435 437 436 return ( $has_url ) ? $has_url : apply_filters( 'the_permalink', get_permalink() ); 438 437 } 439 endif;440 438 441 439 if ( ! function_exists( 'twentythirteen_featured_gallery' ) ) :
Note: See TracChangeset
for help on using the changeset viewer.