How can I replace the default header image with my own in a Child theme?
-
Hi,
I’m building my own Child Theme and I want to replace the default header image with my own. I see that the default header functions are put in functions.php:
/* Set the defaults for the custom header image (http://ryan.boren.me/2007/01/07/custom-image-header-api/) */
define( 'HEADER_TEXTCOLOR', 'FFFFFF' );
define( 'HEADER_IMAGE', '%s/_inc/images/default_header.jpg' ); // %s is theme dir uri
define( 'HEADER_IMAGE_WIDTH', 1250 );
define( 'HEADER_IMAGE_HEIGHT', 125 );I want these to be replaced with my own constants in my child themes functions.php without having to modify the original functions.php.
Is this possible and if so, how do I do this?
Thanks in advance guys
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How can I replace the default header image with my own in a Child theme?’ is closed to new replies.