clarify comments, esc_url

This commit is contained in:
Robin Cornett
2015-02-13 17:03:32 -05:00
parent c473bc13ff
commit f9dfc8e1b8
2 changed files with 14 additions and 12 deletions
@@ -138,6 +138,7 @@ class Display_Featured_Image_Genesis_Output {
wp_localize_script( 'displayfeaturedimage-backstretch-set', 'BackStretchVars', $output );
// if titles will be moved to overlay backstretch image
if ( ! $keep_titles ) {
if ( is_singular() && ! is_front_page() && ! is_page_template( 'page_blog.php' ) ) {
remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); // HTML5
@@ -172,6 +173,7 @@ class Display_Featured_Image_Genesis_Output {
}
// if titles are not being moved to overlay the image
elseif ( ! $keep_titles ) {
if ( ! empty( $item->title ) && ! is_front_page() ) {