Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //* Add the main image above site tagline section (where background image would appear)
- add_action( 'genesis_after_header', 'sk_main_image', 9 );
- function sk_main_image() {
- printf( '<div %s>', genesis_attr( 'main-image' ) ); ?>
- <img src="http://genesis.dev/wp-content/themes/minimum-pro/images/1800x600.jpg" />
- <?php echo '</div>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement