HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: /var/www/kevin-demo/wp-content/themes/fitmencook/header.php
<?php
/**
 * The header for our theme
 *
 * This is the template that displays all of the <head> section and everything up until <div id="content">
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package fitmencook
 */

?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="profile" href="https://gmpg.org/xfn/11">

	<!-- Brevo form styles -->
	<link rel="stylesheet" href="https://sibforms.com/forms/end-form/build/sib-styles.css">

	<meta name="smartbanner:title" content="FitMenCook - Healthy Recipes">
	<meta name="smartbanner:author" content="Nibble Apps">
	<meta name="smartbanner:price" content="$3.99">
	<meta name="smartbanner:price-suffix-apple" content=" - On the App Store">
	<meta name="smartbanner:price-suffix-google" content=" - In Google Play">
	<meta name="smartbanner:icon-apple" content="http://is3.mzstatic.com/image/thumb/Purple117/v4/5b/7a/f9/5b7af9d5-d144-5137-e040-4b6271d7ad7f/source/350x350bb.jpg">
	<meta name="smartbanner:icon-google" content="https://lh3.googleusercontent.com/FUPpZl9_iHHTpIZsjt1WCDr7oKs6QcojoLUkAg5vLTuqGxr5D49BuYkSgS6W9CI2EA=w300">
	<meta name="smartbanner:button" content="View">
	<meta name="smartbanner:button-url-apple" content="https://itunes.apple.com/app/id980368562?at=10l5Lv&ct=fmc-top-lnk">
	<meta name="smartbanner:button-url-google" content="https://play.google.com/store/apps/details?id=com.nibbleapps.fitmencook">
	<meta name="smartbanner:enabled-platforms" content="android,ios">
	<meta name="p:domain_verify" content="630d33d666a4140aa5b91ccdf37cb378"/>

	<?php
	// ACF optional: avoid fatals if ACF is disabled on clone
	if ( function_exists('get_field') ) {
		echo get_field('head_script', 'option'); // Head External Code
	}
	?>

	<?php wp_head(); ?>

	<?php
	// Raptive disable snippet only when product post type exists AND we're on a product page.
	// Also safe even if Woo is disabled (post_type_exists still works).
	if ( post_type_exists('product') && is_singular('product') ) : ?>
		<!-- Raptive - Disable all ads for single product -->
		<script>
			window.adthrive = window.adthrive || {};
			window.adthrive.cmd = window.adthrive.cmd || [];
			window.adthrive.cmd.push(function() {
				if (window.adthrive && typeof window.adthrive.disableAds === "function") {
					window.adthrive.disableAds();
				}
			});
		</script>
	<?php endif; ?>

	<meta name="theme-color" content="#EAECF0" />
	<script async type="text/javascript" src="https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=SmSVCE"></script>
</head>

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

<?php
// ACF optional: avoid fatals if ACF is disabled on clone
if ( function_exists('get_field') ) {
	echo get_field('body_top_script', 'option'); // Body Top External Code
}
?>

<div id="main-content" class="site">
	<a class="skip-link screen-reader-text" href="#primary"><?php esc_html_e( 'Skip to content', 'fmc' ); ?></a>

	<div class="fmc_mobile_header">
		<figure class="fmc_mobile_logo">
			<?php the_custom_logo(); ?>
		</figure>

		<?php
		$search_link = function_exists('get_field') ? get_field('search_link', 'option') : null;
		if( $search_link ): ?>
			<div class="search_icon">
				<a href="<?php echo esc_url( $search_link ); ?>" aria-label="Search">
					<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
						<path d="M16.5 16.5L11.5 11.5M13.1667 7.33333C13.1667 10.555 10.555 13.1667 7.33333 13.1667C4.11167 13.1667 1.5 10.555 1.5 7.33333C1.5 4.11167 4.11167 1.5 7.33333 1.5C10.555 1.5 13.1667 4.11167 13.1667 7.33333Z" stroke="#344054" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
					</svg>
				</a>
			</div>
		<?php endif; ?>

		<?php
		// Woo-safe cart URL
		$cart_url = function_exists('wc_get_cart_url') ? wc_get_cart_url() : '';
		$cart_href = !empty($cart_url) ? esc_url($cart_url) : '#';
		$cart_style = !empty($cart_url) ? '' : 'pointer-events:none;opacity:.35;';
		?>
		<a class="cart_icon" href="<?php echo $cart_href; ?>" aria-label="Cart" style="<?php echo esc_attr($cart_style); ?>">
			<div class="cart">
				<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
					<path d="M1.5 1.5H3.16667L3.5 3.16667M4.83333 9.83333H13.1667L16.5 3.16667H3.5M4.83333 9.83333L3.5 3.16667M4.83333 9.83333L2.92259 11.7441C2.39762 12.269 2.76942 13.1667 3.51184 13.1667H13.1667M13.1667 13.1667C12.2462 13.1667 11.5 13.9129 11.5 14.8333C11.5 15.7538 12.2462 16.5 13.1667 16.5C14.0871 16.5 14.8333 15.7538 14.8333 14.8333C14.8333 13.9129 14.0871 13.1667 13.1667 13.1667ZM6.5 14.8333C6.5 15.7538 5.75381 16.5 4.83333 16.5C3.91286 16.5 3.16667 15.7538 3.16667 14.8333C3.16667 13.9129 3.91286 13.1667 4.83333 13.1667C5.75381 13.1667 6.5 13.9129 6.5 14.8333Z" stroke="#344054" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
				</svg>
			</div>
		</a>

		<div class="fmc_mm_trigger">
			<div></div>
		</div>
	</div>

	<div class="fmc_sitehead">
		<header class="fmc_header">
			<figure class="fmc_mobile_logo">
				<?php the_custom_logo(); ?>
			</figure>

			<?php
			wp_nav_menu(
				array(
					'theme_location' => 'primary',
					'menu_id'        => 'primary'
				)
			);
			?>

			<div class="fmc_header_right">
				<div class="search_icon">
					<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
						<path d="M16.5 16.5L11.5 11.5M13.1667 7.33333C13.1667 10.555 10.555 13.1667 7.33333 13.1667C4.11167 13.1667 1.5 10.555 1.5 7.33333C1.5 4.11167 4.11167 1.5 7.33333 1.5C10.555 1.5 13.1667 4.11167 13.1667 7.33333Z" stroke="#344054" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
					</svg>
				</div>

				<div class="nav_search">
					<?php echo do_shortcode('[wpdreams_ajaxsearchpro id=1]'); ?>
				</div>

				<?php
				// Woo mini cart template is Woo-only; do not load on clone if Woo disabled.
				if ( function_exists('WC') && WC() && isset(WC()->cart) ) {
					get_template_part('template-parts/woo-mini-cart');
				}
				?>

				<?php
				$order_link = function_exists('get_field') ? get_field('order_link', 'option') : null;
				if( $order_link ):
					$order_link_title  = isset($order_link['title']) ? $order_link['title'] : '';
					$order_link_target = !empty($order_link['target']) ? $order_link['target'] : '_self';
					?>
					<a class="fmc_btn" href="https://meals.fitmencook.com" target="<?php echo esc_attr( $order_link_target ); ?>">
						<?php echo esc_html( $order_link_title ); ?>
					</a>
				<?php endif; ?>
			</div>

			<!-- Begin Brevo Form -->
			<!-- START - We recommend to place the below code in head tag of your website html  -->
			<style>
				@font-face {
					font-display: block;
					font-family: Roboto;
					src: url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2) format("woff2"),
						 url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/25c678feafdc175a70922a116c9be3e7.woff) format("woff")
				}
				@font-face {
					font-display: fallback;
					font-family: Roboto;
					font-weight: 600;
					src: url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/6e9caeeafb1f3491be3e32744bc30440.woff2) format("woff2"),
						 url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/71501f0d8d5aa95960f6475d5487d4c2.woff) format("woff")
				}
				@font-face {
					font-display: fallback;
					font-family: Roboto;
					font-weight: 700;
					src: url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/3ef7cf158f310cf752d5ad08cd0e7e60.woff2) format("woff2"),
						 url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/ece3a1d82f18b60bcce0211725c476aa.woff) format("woff")
				}

				#sib-container input:-ms-input-placeholder {
					text-align: left;
					font-family: Helvetica, sans-serif;
					color: #c0ccda;
				}
				#sib-container input::placeholder {
					text-align: left;
					font-family: Helvetica, sans-serif;
					color: #c0ccda;
				}
				#sib-container textarea::placeholder {
					text-align: left;
					font-family: Helvetica, sans-serif;
					color: #c0ccda;
				}
				#sib-container a {
					text-decoration: underline;
					color: #2BB2FC;
				}

				div#sib-container { padding: 0; }
				.sib-form-brevo { display: flex; }

				form#sib-form:after {
					content: "";
					position: absolute;
					width: 20px;
					height: 20px;
					background-image: url(https://fitmencook.com/wp-content/uploads/2025/03/letter.svg);
					left: 15px;
					background-repeat: no-repeat;
					background-position: center left;
					background-size: contain;
				}

				form#sib-form-hero { position: relative; }

				form#sib-form-hero:after {
					content: "";
					position: absolute;
					width: 20px;
					height: 20px;
					background-image: url(https://fitmencook.com/wp-content/uploads/2025/03/letter.svg);
					left: 15px;
					top: 50%;
					transform:translateY(-50%);
					background-repeat: no-repeat;
					background-position: center left;
					background-size: contain;
				}

				#sib-container.sib-custom-fix { background:none; }

				#sib-form .entry__field--email-custom .input:not(textarea),
				#sib-form .entry__field--email-custom .input__button {
					height: auto;
					padding: 15px;
				}

				.sib-form-custom#sib-form:after { content: none; }

				div.sib-form .input:first-child, .sib-form .input__affix:first-child { padding-left: 5rem; }
				div.sib-form { padding: 12px 0; }
				#sib-form .entry__field { border: none; }
				#sib-form { align-items: center; }
				#sib-form .input:not(textarea), #sib-form .input__button { height: calc(3.5rem - 2px); }

				@media screen and (max-width: 900px) {
					#mega-menu-item-text-13{ display: none; }
					.mega-sub-menu{ display: flex !important; flex-direction: column; }
					li#mega-menu-14-0-1{ width: 100% !important; order: 15; }
					#mega-menu-14-0-2{ width: 100% !important; order: 5; }
					#mega-menu-14-0-3{ display: none !important; }
					#mega-menu-item-text-2{ display: none !important; }
					.fmc_header ul li a{ padding: 10px 0; }
					.fmc_header ul li a img{ border-radius: 20px; }
					li#mega-menu-14-0-0{ order: 65 !important; width: 100% !important; }
				}

				@media screen and (max-width: 600px) {
					#mega-menu-wrap-primary #mega-menu-primary{ padding-top: 75px !important; }
				}
			</style>

			<link rel="stylesheet" href="https://sibforms.com/forms/end-form/build/sib-styles.css">
			<!--  END - We recommend to place the above code in head tag of your website html -->
		</header>
	</div>