* * @package FlyMag */ /** * Set up the WordPress core custom header feature. * * @uses flymag_header_style() * @uses flymag_admin_header_style() * @uses flymag_admin_header_image() */ function flymag_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'flymag_custom_header_args', array( 'default-image' => '', 'default-text-color' => '000000', 'width' => 1366, 'height' => 768, 'flex-height' => true, 'wp-head-callback' => 'flymag_header_style', 'admin-head-callback' => 'flymag_admin_header_style', 'admin-preview-callback' => 'flymag_admin_header_image', ) ) ); } add_action( 'after_setup_theme', 'flymag_custom_header_setup' ); if ( ! function_exists( 'flymag_header_style' ) ) : /** * Styles the header image and text displayed on the blog * * @see flymag_custom_header_setup(). */ function flymag_header_style() { if ( get_header_image() ) { ?> Header admin panel. * * @see flymag_custom_header_setup(). */ function flymag_admin_header_style() { ?> Header admin panel. * * @see flymag_custom_header_setup(). */ function flymag_admin_header_image() { $style = sprintf( ' style="color:#%s;"', get_header_textcolor() ); ?>

onclick="return false;" href="">

>