Twenty Fourteen: make `twentyfourteen_post_thumbnail()` pluggable.
Fixes #31374, props wordpressorru. git-svn-id: https://develop.svn.wordpress.org/trunk@31481 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
45d5c5ddbe
commit
b30afb0349
|
@ -161,6 +161,7 @@ function twentyfourteen_category_transient_flusher() {
|
|||
add_action( 'edit_category', 'twentyfourteen_category_transient_flusher' );
|
||||
add_action( 'save_post', 'twentyfourteen_category_transient_flusher' );
|
||||
|
||||
if ( ! function_exists( 'twentyfourteen_post_thumbnail' ) ) :
|
||||
/**
|
||||
* Display an optional post thumbnail.
|
||||
*
|
||||
|
@ -201,6 +202,7 @@ function twentyfourteen_post_thumbnail() {
|
|||
|
||||
<?php endif; // End is_singular()
|
||||
}
|
||||
endif;
|
||||
|
||||
if ( ! function_exists( 'twentyfourteen_excerpt_more' ) && ! is_admin() ) :
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue