From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- .../themes/twentyseventeen/inc/custom-header.php | 131 --------------------- 1 file changed, 131 deletions(-) delete mode 100644 srcs/wordpress/wp-content/themes/twentyseventeen/inc/custom-header.php (limited to 'srcs/wordpress/wp-content/themes/twentyseventeen/inc/custom-header.php') diff --git a/srcs/wordpress/wp-content/themes/twentyseventeen/inc/custom-header.php b/srcs/wordpress/wp-content/themes/twentyseventeen/inc/custom-header.php deleted file mode 100644 index 9e4f5e6..0000000 --- a/srcs/wordpress/wp-content/themes/twentyseventeen/inc/custom-header.php +++ /dev/null @@ -1,131 +0,0 @@ - get_parent_theme_file_uri( '/assets/images/header.jpg' ), - 'width' => 2000, - 'height' => 1200, - 'flex-height' => true, - 'video' => true, - 'wp-head-callback' => 'twentyseventeen_header_style', - ) - ) - ); - - register_default_headers( - array( - 'default-image' => array( - 'url' => '%s/assets/images/header.jpg', - 'thumbnail_url' => '%s/assets/images/header.jpg', - 'description' => __( 'Default Header Image', 'twentyseventeen' ), - ), - ) - ); -} -add_action( 'after_setup_theme', 'twentyseventeen_custom_header_setup' ); - -if ( ! function_exists( 'twentyseventeen_header_style' ) ) : - /** - * Styles the header image and text displayed on the blog. - * - * @see twentyseventeen_custom_header_setup(). - */ - function twentyseventeen_header_style() { - $header_text_color = get_header_textcolor(); - - // If no custom options for text are set, let's bail. - // get_header_textcolor() options: add_theme_support( 'custom-header' ) is default, hide text (returns 'blank') or any hex value. - if ( get_theme_support( 'custom-header', 'default-text-color' ) === $header_text_color ) { - return; - } - - // If we get this far, we have custom styles. Let's do this. - ?> - - ' . __( 'Play background video', 'twentyseventeen' ) . '' . twentyseventeen_get_svg( array( 'icon' => 'play' ) ); - $settings['l10n']['pause'] = '' . __( 'Pause background video', 'twentyseventeen' ) . '' . twentyseventeen_get_svg( array( 'icon' => 'pause' ) ); - return $settings; -} -add_filter( 'header_video_settings', 'twentyseventeen_video_controls' ); -- cgit