Server IP : 184.154.167.98 / Your IP : 3.135.247.24 Web Server : Apache System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : puertode ( 1767) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/puertode/public_html/wp-content/themes/avril/inc/ |
Upload File : |
<?php function avril_custom_header_setup() { add_theme_support( 'custom-header', apply_filters( 'avril_custom_header_args', array( 'default-image' => '', 'default-text-color' => '383E41', 'width' => 2000, 'height' => 200, 'flex-height' => true, 'wp-head-callback' => 'avril_header_style', ) ) ); } add_action( 'after_setup_theme', 'avril_custom_header_setup' ); if ( ! function_exists( 'avril_header_style' ) ) : function avril_header_style() { $header_text_color = get_header_textcolor(); ?> <style type="text/css"> <?php if ( ! display_header_text() ) : ?> .site-title, .site-description { position: absolute; clip: rect(1px, 1px, 1px, 1px); } <?php else : ?> body .header h4.site-title, body .header p.site-description { color: #<?php echo esc_attr( $header_text_color ); ?>; } <?php endif; ?> </style> <?php } endif;