403Webshell
Server IP : 104.26.5.103  /  Your IP : 216.73.216.4
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : arabianexpress ( 1872)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v9321/highrangesfarmstay/public_html/wp-content/themes/hub/templates/header/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/highrangesfarmstay/public_html/wp-content/themes/hub/templates/header/custom.php
<?php
/**
 * Default header template
 *
 * @package Hub
 */

$header = liquid_get_header_layout();
$cached = 0;

if( function_exists( 'icl_object_id' ) ) {
    $header['id'] = icl_object_id( $header['id'], 'page', false, ICL_LANGUAGE_CODE );
}
if ( function_exists( 'pll_get_post' ) ) {
    $header['id'] = pll_get_post( $header['id'] );
}

if ( ! is_admin() && is_singular() && liquid_helper()->get_option('enable-hub-optimization') === 'on' && liquid_helper()->get_option('enable-hub-header-cache') === 'on' &&
    ( ! isset( $_GET['preview'] ) || $_GET['preview'] !== 'true' ) ) {
    $header_content = get_post_meta($header['id'], '_post_content', true);
    if (!$header_content) {
        $header_content = get_post_field( 'post_content', $header['id'] );
    } else {
        $cached = 1;
    }
} else {
    $header_content = get_post_field( 'post_content', $header['id'] );
}

?>
<header <?php liquid_helper()->attr( 'header', $header['attributes'] ); ?>>
    <?php liquid_action( 'before_header_tag' ); ?>

    <?php  if ( defined( 'ELEMENTOR_VERSION' ) ) :

		liquid_helper()->get_elementor_edit_cpt( $header['id'], 'Header' );

        echo Elementor\Plugin::instance()->frontend->get_builder_content_for_display( $header['id'] );

    else :

        $header_content = str_replace( '[vc_row ', '[ld_header_row ', $header_content );
        $header_content = str_replace( '[vc_row]', '[ld_header_row]', $header_content );
        $header_content = str_replace( '[/vc_row]', '[/ld_header_row]', $header_content );

        $header_content = str_replace( '[vc_column ', '[ld_header_column ', $header_content );
        $header_content = str_replace( '[vc_column]', '[ld_header_column]', $header_content );
        $header_content = str_replace( '[/vc_column]', '[/ld_header_column]', $header_content );

        echo do_shortcode( $header_content );

    endif;

    if (!$cached) { liquid_action( 'after_header_tag' ); } ?>

</header>

Youez - 2016 - github.com/yon3zu
LinuXploit