Ticket #31374: template-tags.php.2.diff
| File template-tags.php.2.diff, 920 bytes (added by , 11 years ago) |
|---|
-
wp-content/themes/twentyfourteen/inc/template-tags.php
old new 120 120 } 121 121 endif; 122 122 123 if ( ! function_exists( 'twentyfourteen_categorized_blog' ) ) : 123 124 /** 124 125 * Find out if blog has more than one category. 125 126 * … … 148 149 return false; 149 150 } 150 151 } 152 endif; 151 153 152 154 /** 153 155 * Flush out the transients used in twentyfourteen_categorized_blog. … … 161 163 add_action( 'edit_category', 'twentyfourteen_category_transient_flusher' ); 162 164 add_action( 'save_post', 'twentyfourteen_category_transient_flusher' ); 163 165 166 if ( ! function_exists( 'twentyfourteen_post_thumbnail' ) ) : 164 167 /** 165 168 * Display an optional post thumbnail. 166 169 * … … 201 204 202 205 <?php endif; // End is_singular() 203 206 } 207 endif; 204 208 205 209 if ( ! function_exists( 'twentyfourteen_excerpt_more' ) && ! is_admin() ) : 206 210 /**