SILENT KILLERPanel

Current Path: > home > transcarter > > > www > wp-content > themes > config_1754038130 > inc


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter///www/wp-content/themes/config_1754038130/inc

NameTypeSizeLast ModifiedActions
custom-header.php File 1566 bytes August 01 2025 08:48:56.
customizer.php File 6497 bytes August 01 2025 08:48:56.

Reading File: /home/transcarter///www/wp-content/themes/config_1754038130/inc/custom-header.php

<?php
function nasio_custom_header_setup() {
    $args = array(
        'default-text-color' => '333',
        'width'              => 2000,
		'height'             => 330,
        'flex-width'         => true,
        'flex-height'        => true,
        'wp-head-callback'   => 'nasio_header_image_css',
    );
    add_theme_support( 'custom-header', $args );
}
add_action( 'after_setup_theme', 'nasio_custom_header_setup' );

function nasio_header_image_css() {

    $header_text_color = get_header_textcolor();
    $height = get_theme_mod( 'header-background-height', '330px' );
    $repeat = get_theme_mod( 'header-background-repeat', 'no-repeat' );
    $size = get_theme_mod( 'header-background-size', 'cover' );
    $background_position = get_theme_mod( 'header-background-position', 'center' );
    $position = get_theme_mod( 'header-position', 'relative' );
    $margin = get_theme_mod('header-margin-bottom', '.7em');
    
    ?>
    
    <style type="text/css">

<?php if ( has_header_image() ) : ?>
    .header-image {
        height: <?php echo esc_attr( $height ); ?>;
        background-repeat: <?php echo esc_attr( $repeat ); ?>;
        background-size: <?php echo esc_attr( $size ); ?>;
        background-position: <?php echo esc_attr( $background_position ); ?>;
        position: <?php echo esc_attr ($position); ?>;
        padding-bottom: <?php echo esc_attr( $margin ); ?>;
    }
    .site-title {
        bottom: 5px;
        left: 0;
        right: 0;
        position: absolute;
        width: 100%;
    }
<?php endif; ?>

</style>
<?php
}

SILENT KILLER Tool