HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vmi1674223.contaboserver.net 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: root (0)
PHP: 7.4.3-4ubuntu2.22
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/Application/wp-content/themes/zoomy/header.php
<?php
/**
 * The header for our theme
 *
 * This is the template that displays all of the <head> section
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package zoomy
 */

// Theme settings options
$opt = get_option( 'zoomy_opt' );
$is_menu_btn     = function_exists( 'get_field' ) ? get_field( 'is_menu_btn' ) : '';
$is_menu_btn_opt = ! empty( $opt['is_menu_btn'] ) ? $opt['is_menu_btn'] : '';
$is_menu_btn     = isset( $is_menu_btn ) ? $is_menu_btn : $is_menu_btn_opt;
$page_header_layout      = function_exists( 'get_field' ) ? get_field( 'header_type' ) : '';
$page_header_layout_opt  = ! empty( $opt['header_layout'] ) ? $opt['header_layout'] : '';
$page_header_layout_opts = isset( $page_header_layout ) ? $page_header_layout : $page_header_layout_opt;
$zoomy_theme = wp_get_theme( 'zoomy' );
$s_value  = get_search_query() ? get_search_query() : '';
?>

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
    <head>
        <!-- Theme Version -->
        <meta name="zoomy-version" content="<?php echo esc_attr( $zoomy_theme->Version ) ?>">
        <!-- Charset Meta -->
        <meta charset="<?php bloginfo( 'charset' ); ?>">
        <!-- For IE -->
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Resposive Device -->
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

		<?php wp_head(); ?>
    </head>

<body <?php body_class(); ?> >

<?php
if ( function_exists( 'wp_body_open' ) ) {
	wp_body_open();
}

/**
 * Preloader
 */
$is_preloader = isset( $opt['is_preloader'] ) ? $opt['is_preloader'] : '';
if ( did_action( 'elementor/loaded' ) ) {
    if ( \Elementor\Plugin::$instance->preview->is_preview_mode() ) {
        $is_preloader = '';
    }
}

if ( $is_preloader == '1' ) {
	get_template_part( 'template-parts/header-elements/preloader' );
}

/**
 * Header Template
 */
get_template_part( 'template-parts/header-elements/header-default' );

/**
 * Mobile Menu
 */
get_template_part( 'template-parts/header-elements/mobile-menu' );
?>

<!----- Page Wrapper Start ------>
<main>

<?php
/**
 * Page Title-bar
 */
get_template_part( 'template-parts/header-elements/titlebar' );