Hi @ladylorien,
To get the result as you desired, you must activate the child theme. You can get knowledge about the child theme and download the flash child theme from the below link.
https://themegrill.com/blog/tutorial-creating-wordpress-child-theme/
After download, make a folder named template-parts inside the flash-child folder you have downloaded and locate header-media.php from parent theme folder i.e flash and copy it to template-parts that you have created and then edit the header-media.php that you have copied and change this code the_custom_header_markup(); to flash_the_custom_header_markup();. Then locate functions.php in flash-child folder and edit it. Then, at the end of the line add the following codes:
function flash_get_custom_header_markup() {
if ( ! has_custom_header() && ! is_customize_preview() ) {
return '';
}
return sprintf(
'<div id="wp-custom-header" class="wp-custom-header"><a href="' . get_bloginfo('url') . '">%s</a></div>',
get_header_image_tag()
);
}
function flash_the_custom_header_markup() {
$custom_header = flash_get_custom_header_markup();
if ( empty( $custom_header ) ) {
return;
}
echo $custom_header;
if ( is_header_video_active() && ( has_header_video() || is_customize_preview() ) ) {
wp_enqueue_script( 'wp-custom-header' );
wp_localize_script( 'wp-custom-header', '_wpCustomHeaderSettings', get_header_video_settings() );
}
}
Then, install and activate the child theme.
Thanks,
Ashesh
Great, thank you so much!