Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_filter( ‘genesis_structural_wrap-header’, ‘do_full_width_page_header, 10, 2 );
function do_full_width_page_header( $output, $original_output ) {
return sprintf( '<div class="full-width-page-header" style="background: url(\'%s\');"></div>',
wp_get_attachment_image_url( 2623, ‘full’ )
) . $output;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment