Changeset 24071 for trunk/wp-content/themes/twentythirteen/functions.php
- Timestamp:
- 04/23/2013 04:57:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentythirteen/functions.php
r24070 r24071 376 376 echo '<span class="featured-post">' . __( 'Sticky', 'twentythirteen' ) . '</span>'; 377 377 378 if ( ! has_post_format( ' aside' ) && ! has_post_format( 'link' ) && 'post' == get_post_type() )378 if ( ! has_post_format( 'link' ) && 'post' == get_post_type() ) 379 379 twentythirteen_entry_date(); 380 380 … … 530 530 531 531 /** 532 * Adds entry date to aside posts after the content.533 *534 *535 * @since Twenty Thirteen 1.0536 *537 * @param string $content Post content.538 * @return string Post content.539 */540 function twentythirteen_aside_date( $content ) {541 if ( ! is_feed() && has_post_format( 'aside' ) ) {542 $content .= twentythirteen_entry_date( false );543 }544 return $content;545 }546 add_filter( 'the_content', 'twentythirteen_aside_date', 8 ); // After embeds, before everything else.547 548 /**549 532 * Switches default core markup for search form to output valid HTML5. 550 533 *
Note: See TracChangeset
for help on using the changeset viewer.