HEX
Server: Apache/2
System: Linux ns65.hostinglotus.net 4.18.0-553.16.1.el8_10.x86_64 #1 SMP Thu Aug 8 07:11:46 EDT 2024 x86_64
User: newsnnno (1225)
PHP: 8.2.20
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/newsnnno/public_html/khaodeedee/blog/wp-content/themes/z-newspapers/header.php
<?php

/**
 * The Header template for our theme
 *
 * Displays all of the <head> section and everything up till <div id="main">
 */
?>

<!DOCTYPE html>
<html <?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">
	<?php if (is_singular() && pings_open(get_queried_object())) : ?>
		<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<?php endif; ?>
	<?php wp_head(); ?>
</head>

<body <?php body_class(); ?> id="top">
	<?php wp_body_open(); ?>
	<a class="skip-link screen-reader-text" href="#main-content-sticky">
		<?php _e('Skip to content', 'z-newspapers'); ?>
	</a>

	<div id="wrapper" class="grid-container no-padding small-full <?php if (true == get_theme_mod('newspaperss_body_fullwidth', false)) : ?> full <?php endif; ?> z-depth-2">
		<!-- Site HEADER -->
		<?php if (true == get_theme_mod('disable_top_header', true)) : ?>
			<?php get_template_part('header/top', 'bar'); ?>
		<?php endif; ?>
		<header id="header-top" class="header-area">
			<?php get_template_part('header/site', 'branding'); ?>
			<!-- Mobile Menu -->
			<?php get_template_part('header/off', 'canvas'); ?>
			<!-- Mobile Menu -->
			<!-- Start Of bottom Head -->
			<div id="header-bottom" class="head-bottom-area animated" <?php if (true == get_theme_mod('disable_sticky_menu', true)) : ?> data-sticky data-sticky-on="large" data-options="marginTop:0;" style="width:100%" data-top-anchor="main-content-sticky" <?php endif; ?>>
				<div class="grid-container">
					<div class="top-bar main-menu no-js" id="the-menu">
						<?php $newspaperss_mainmenu_position = get_theme_mod('newspaperss_mainmenu_position', 'left'); ?>
						<div class="menu-position <?php echo esc_attr($newspaperss_mainmenu_position); ?>" data-magellan data-magellan-top-offset="60">
							<?php if (has_nav_menu('primary')) : ?>
								<?php newspaperss_top_nav(); ?>
							<?php else : ?>
								<ul class="horizontal menu  desktop-menu dropdown">
									<li id="add-menu" class="menu-item">
										<a href=" <?php echo esc_url(admin_url('nav-menus.php')); ?>  ">
											<?php echo esc_html__('Add a Primary Menu', 'z-newspapers'); ?>
										</a>
									</li>
								</ul>
							<?php endif; ?>
						</div>
					</div>
					<!--/ #navmenu-->
				</div>
			</div>
			<!-- Start Of bottom Head -->
		</header>
		<div id="main-content-sticky">