i think i found a solution to this problem.
since add_custom_image_header already declared in parent theme, i just need to
add this line code to use my own setting of custom image header and good news is
there no double image header and header menu.
///////////////////////////////////////////////////////////////
/// inherit parent theme header to child theme
//////////////////////////////////////////////////////////////
define('HEADER_TEXTCOLOR', '');
define('HEADER_IMAGE_WIDTH', 988); //width is differ from parent
define('HEADER_IMAGE_HEIGHT', 125); //height is differ from parent
define('NO_HEADER_TEXT', true ); //turn this off in child theme
function my_admin_header_style() { ?>
<style type="text/css">
#headimg { height: <?php echo HEADER_IMAGE_HEIGHT; ?>px !important; background: #fff url(<?php header_image() ?>) repeat-x; }
#headimg { height: <?php echo HEADER_IMAGE_HEIGHT; ?>px !important; width: <?php echo HEADER_IMAGE_WIDTH; ?>px !important; }
#headimg h1, #headimg #desc { display: none !important; }
</style>
<?php }
// no need to recalled add_custom_image_header()..just add action to style it
add_action('admin_head', 'my_admin_header_style');
and now only 1 custom header admin menu and 1 header upload form.
thanks for chipping in:)
cheers