- Timestamp:
- 08/22/2013 05:02:34 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php
r25087 r25088 144 144 add_action( 'edit_category', 'twentyfourteen_category_transient_flusher' ); 145 145 add_action( 'save_post', 'twentyfourteen_category_transient_flusher' ); 146 147 /**148 * Include the Post-Format-specific template for the content.149 * This is called in index.php and single.php150 */151 function twentyfourteen_get_template_part() {152 if ( has_post_format( array( 'aside', 'quote', 'link', 'video', 'image' ) ) )153 get_template_part( 'content', 'post-format' );154 else155 get_template_part( 'content', get_post_format() );156 }
Note: See TracChangeset
for help on using the changeset viewer.