403Webshell
Server IP : 10.19.1.101  /  Your IP : 216.73.216.158
Web Server : Apache
System : Linux web1f13.kinghost.net 5.4.282-1.el8.elrepo.x86_64 #1 SMP Mon Aug 19 18:33:22 EDT 2024 x86_64
User : schererimoveisrs ( 170628)
PHP Version : 7.4.33
Disable Function : apache_child_terminate,c99_buff_prepare,c99_sess_put,dl,exec,leak,link,myshellexec,openlog,passthru,pclose,pcntl_exec,php_check_syntax,php_strip_whitespace,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,symlink,system,socket_listen,socket_create_listen,putenv
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/schererimoveisrs/www/wp-content/themes/context-blog/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/schererimoveisrs/www/wp-content/themes/context-blog/inc//custom-header.php
<?php
/**
 * Sample implementation of the Custom Header feature
 *
 * You can add an optional custom header image to header.php like so ...
 *
	<?php the_header_image_tag(); ?>
 *
 * @link https://developer.wordpress.org/themes/functionality/custom-headers/
 *
 * @package context-blog
 */

/**
 * Set up the WordPress core custom header feature.
 *
 * @uses context_blog_header_style()
 */
function context_blog_custom_header_setup() {
	add_theme_support(
		'custom-header',
		apply_filters(
			'context_blog_custom_header_args',
			array(
				'default-image'      => get_parent_theme_file_uri( '/images/default-header-image.jpeg' ),
				'default-text-color' => '#ffffff',
				'width'              => 1440,
				'height'             => 710,
				'flex-height'        => true,
				'video'              => true,
				'wp-head-callback'   => 'context_blog_header_style',
			)
		)
	);
	register_default_headers(
		array(
			'default-image' => array(
				'url'           => '%s/images/default-header-image.jpeg',
				'thumbnail_url' => '%s/images/default-header-image.jpeg',
				'description'   => __( 'Default Header Image', 'context-blog' ),
			),
		)
	);
}
add_action( 'after_setup_theme', 'context_blog_custom_header_setup' );

if ( ! function_exists( 'context_blog_header_style' ) ) :
	/**
	 * Styles the header image and text displayed on the blog.
	 *
	 * @see context_blog_custom_header_setup().
	 */
	function context_blog_header_style() {
		$header_text_color = get_header_textcolor();

		/*
		* If no custom options for text are set, let's bail.
		* get_header_textcolor() options: Any hex value, 'blank' to hide text. Default: add_theme_support( 'custom-header' ).
		*/
		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.
		?>
		<style type="text/css">
		<?php
		// Has the text been hidden?
		if ( ! display_header_text() ) :
			?>
			.site-title,
			.site-description {
				position: absolute;
				clip: rect(1px, 1px, 1px, 1px);
				}
			<?php
			// If the user has set a custom color for the text use that.
	 else :
			?>
			.banner-author-holder .banner-author-info h1 a,
			.banner-author-holder .banner-author-info p {
				color: #<?php echo esc_attr( $header_text_color ); ?>;
			}
	 <?php endif; ?>
		</style>
		<?php
	}
endif;

Youez - 2016 - github.com/yon3zu
LinuXploit