HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
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/wintergenomics_site/wp-content/themes/radcliffe/header.php
<!DOCTYPE html>

<html class="no-js" <?php language_attributes(); ?>>

	<head>

		<meta http-equiv="content-type" content="<?php bloginfo( 'html_type' ); ?>" charset="<?php bloginfo( 'charset' ); ?>" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />

		<link rel="profile" href="//gmpg.org/xfn/11">

		<?php wp_head(); ?>

	</head>

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

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

		<a class="skip-link button" href="#site-content"><?php esc_html_e( 'Skip to the content', 'radcliffe' ); ?></a>

		<div class="header-search-block section light-padding hidden">
			<div class="section-inner">
				<?php get_search_form(); ?>
			</div>
		</div>

		<header class="header section light-padding" id="site-header">

			<div class="header-inner section-inner">

				<?php

				$custom_logo_id 	= get_theme_mod( 'custom_logo' );
				$legacy_logo_url 	= get_theme_mod( 'radcliffe_logo' );
				$title_element 		= is_front_page() && is_home() ? 'h1' : 'div';

				if ( $custom_logo_id  || $legacy_logo_url ) :

					$custom_logo_url = $custom_logo_id ? wp_get_attachment_image_url( $custom_logo_id, 'full' ) : $legacy_logo_url; ?>

					<<?php echo $title_element; ?> class="blog-logo">
						<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
							<span class="screen-reader-text"><?php echo get_bloginfo( 'title' ); ?></span>
							<img src="<?php echo esc_url( $custom_logo_url ); ?>">
						</a>
					</<?php echo $title_element; ?>>

				<?php elseif ( get_bloginfo( 'title' ) ) : ?>

					<<?php echo $title_element; ?> class="blog-title">
						<a href="<?php echo esc_url( home_url() ); ?>" rel="home"><?php echo get_bloginfo( 'title' ); ?></a>
					</<?php echo $title_element; ?>>

				<?php endif; ?>

				<button class="nav-toggle">
					<p><?php _e( 'Menu', 'radcliffe' ); ?></p>
					<div class="bars">
						<div class="bar"></div>
						<div class="bar"></div>
						<div class="bar"></div>
					</div>
				</button>

				<ul class="main-menu">

					<?php if ( has_nav_menu( 'primary' ) ) {

						$menu_args = array(
							'container' 		=> '',
							'items_wrap' 		=> '%3$s',
							'theme_location' 	=> 'primary'
						);

						wp_nav_menu( $menu_args );

					} else {

						$list_pages_args = array(
							'container' => '',
							'title_li' 	=> ''
						);

						wp_list_pages( $list_pages_args );

					} ?>

					<li class="search-toggle-menu-item">
						<a href="#" class="search-toggle">
							<span class="screen-reader-text"><?php _e( 'Show the search field', 'radcliffe' ); ?></span>
						</a>
					</li>

				</ul>

			</div><!-- .header -->

		</header><!-- .header.section -->

		<div class="mobile-menu-container hidden">

			<ul class="mobile-menu">

				<?php
				if ( has_nav_menu( 'primary' ) ) {
					wp_nav_menu( $menu_args );
				} else {
					wp_list_pages( $list_pages_args );
				}
				?>

			 </ul><!-- .mobile-menu -->

			 <?php get_search_form(); ?>

		</div><!-- .mobile-menu-container -->