Created
April 25, 2019 20:16
-
-
Save damiencarbery/1fd98dcbeb972bb1c8234fa24dca64b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Disable putting the page title on top of the hero image but retain the hero image creation. | |
add_action( 'genesis_meta', 'lmtt_essence_page_hero_header', 5 ); | |
function lmtt_essence_page_hero_header() { | |
remove_action( 'genesis_meta', 'essence_page_hero_header' ); | |
// Hero area setup. | |
add_action( 'genesis_before_header', 'essence_header_hero_start' ); | |
add_action( 'genesis_after_header', 'essence_header_title_wrap', 90 ); | |
add_action( 'genesis_after_header', 'essence_header_title_end_wrap', 98 ); | |
add_action( 'genesis_after_header', 'essence_header_hero_end', 99 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment