* * @package aReview */ /** * Setup the WordPress core custom header feature. * * @uses areview_header_style() * @uses areview_admin_header_style() * @uses areview_admin_header_image() */ function areview_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'areview_custom_header_args', array( 'default-image' => '', 'default-text-color' => '000000', 'width' => 1000, 'height' => 250, 'flex-height' => true, //'wp-head-callback' => 'areview_header_style', 'admin-head-callback' => 'areview_admin_header_style', 'admin-preview-callback' => 'areview_admin_header_image', ) ) ); } add_action( 'after_setup_theme', 'areview_custom_header_setup' ); if ( ! function_exists( 'areview_admin_header_style' ) ) : /** * Styles the header image displayed on the Appearance > Header admin panel. * * @see areview_custom_header_setup(). */ function areview_admin_header_style() { ?> Header admin panel. * * @see areview_custom_header_setup(). */ function areview_admin_header_image() { $style = sprintf( ' style="color:#%s;"', get_header_textcolor() ); ?>

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

>