'f8f4ee', 'text' => '333333', 'link' => '462917', 'border' => '462917', 'url' => '462917', ); } /** * Disable Forever's theme options */ add_filter( 'forever-enable-theme-options', '__return_false' ); /** * Enqueue Google Fonts and small menu */ function lovebirds_scripts() { wp_enqueue_style( 'lovebirds-niconne', "https://fonts.googleapis.com/css?family=Niconne" ); wp_enqueue_style( 'lovebirds-lusitana', "https://fonts.googleapis.com/css?family=Lusitana:400,700" ); wp_enqueue_script( 'lovebirds-small-menu', get_stylesheet_directory_uri() . '/js/small-menu.js', array( 'jquery' ), '20120206' ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); } add_action( 'wp_enqueue_scripts', 'lovebirds_scripts' ); /** * Enqueue Google Fonts in admin */ function lovebirds_admin_scripts( $hook_suffix ) { if ( 'appearance_page_custom-header' != $hook_suffix ) return; wp_enqueue_style( 'lovebirds-niconne', "https://fonts.googleapis.com/css?family=Niconne" ); wp_enqueue_style( 'lovebirds-lusitana', "https://fonts.googleapis.com/css?family=Lusitana:400,700" ); } add_action( 'admin_enqueue_scripts', 'lovebirds_admin_scripts' ); /** * Change default custom background image and color */ function lovebirds_custom_background_args( $args ) { $args = array( 'default-color' => 'f8f4ee', 'default-image' => get_stylesheet_directory_uri() . '/img/background.png', ); return $args; } add_filter( 'forever_custom_background_args', 'lovebirds_custom_background_args', 999 ); /** * Change default custom header image, color, and size */ function lovebirds_custom_header_args( $args ) { $args = array( 'default-image' => get_stylesheet_directory_uri() . '/img/lovebirds-2x.png', 'default-text-color' => 'e55564', 'width' => 250, 'height' => 290, 'random-default' => false, 'wp-head-callback' => 'lovebirds_header_style', 'admin-head-callback' => 'lovebirds_admin_header_style', 'admin-preview-callback' => 'lovebirds_admin_header_image', ); return $args; } add_filter( 'forever_custom_header_args', 'lovebirds_custom_header_args', 999 ); /** * Change how custom header is displayed in admin */ if ( ! function_exists( 'lovebirds_admin_header_style' ) ) : /** * Custom styles for the custom header page in the admin */ function lovebirds_admin_header_style() { $header_textcolor = get_header_textcolor(); ?>

>