Server : Apache
System : Linux webm011.cluster126.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : alfamiffjq ( 77889)
PHP Version : 8.2.31
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Directory :  /home/alfamiffjq/www/alfamifwp/wp-content/themes/setto/inc/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: custom-header.php

Path: /home/alfamiffjq/www/alfamifwp/wp-content/themes/setto/inc/custom-header.php

Size: 947 B

Permissions: 0644

<?php
function setto_custom_header_setup() {
	add_theme_support( 'custom-header', apply_filters( 'setto_custom_header_args', array(
		'default-image'          => '',
		'default-text-color'     => '222',
		'width'                  => 2000,
		'height'                 => 200,
		'flex-height'            => true,
		'wp-head-callback'       => 'setto_header_style',
	) ) );
}
add_action( 'after_setup_theme', 'setto_custom_header_setup' );

if ( ! function_exists( 'setto_header_style' ) ) :

function setto_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 :
	?>
		h4.site-title,
		p.site-description {
			color: #<?php echo esc_attr( $header_text_color ); ?>;
		}
	<?php endif; ?>
	</style>
	<?php
}
endif;

← Back to Directory Edit File 🔒 Chmod

WP File Manager