Skip to content

Instantly share code, notes, and snippets.

@billerickson billerickson/functions.php Secret
Created Mar 24, 2018

Embed
What would you like to do?
<?php
/**
* Page Header
*
*/
function be_page_header() {
if( ! is_page() )
return;
// Remove default page header
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
// Add our custom page header
echo '<div class="page-header"><div class="wrap">';
genesis_do_post_title();
echo '</div></div>';
}
add_action( 'genesis_after_header', 'be_page_header' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.