If you want to display a unique header image on the front page of your site which is different to what your other pages display, you’ll find one of the best solutions in this post.
1. First step is to remove support for a custom header if your child theme includes PHP code like this in your functions.php file:
//* Add support for custom header add_theme_support( 'custom-header', array( 'width' => 1140, 'height' => 350, 'header-selector' => '.site-title a', 'header-text' => false ) );
Different themes use different code however if your theme includes a function named add_theme_support(‘custom_header’), please remove it.
Note: You can leave the above code in some themes like the Genesis Sample theme and use it for your default header which displays on all pages excluding your home page and skip the 2nd step. Others will require you to remove it and use the code in the next step.
2. The 2nd step is to copy the following PHP code and paste it at the end of your child themes functions.php file.
Note: Both solutions require you to add this code as instructed.
You need to subscribe to fully access this tutorial.