![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/hessa.corals.io/wp-content/themes/halva/ |
<?php /** * The template for displaying the header * * @package WordPress * @subpackage Halva * @since Halva 1.0 */ ?><!doctype html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> * { margin: 0; padding: 0; box-sizing: border-box; } html, body { width: 100%; overflow-x: hidden; } .container { width: 100%; max-width: 1200px; /* Adjust as needed */ margin: 0 auto; padding: 0 15px; /* Optional padding */ } img { max-width: 100%; height: auto; } @media (max-width: 768px) { .container { width: 100%; padding: 0 10px; /* Adjust padding as needed */ } } </style> <link rel="profile" href="https://gmpg.org/xfn/11"> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php wp_head(); ?> </head> <body <?php body_class( is_rtl() ? 'rtl' : '' ); ?>> <?php wp_body_open(); ?> <?php // hidden navigation: enable/disable $enable_hidden_nav = get_theme_mod( 'halva_enable_hidden_nav', 0 ); // 1 or 0 if ( $enable_hidden_nav ) { ?> <!-- main navigation (hidden) --> <nav id="bwp-main-nav" class="bwp-hidden-main-nav" tabindex="0"> <div class="container-fluid"> <div class="bwp-main-nav-container"> <?php // logo (image or text) halva_show_hidden_nav_logo(); ?> <!-- central block --> <div class="bwp-central-block clearfix"> <?php // main menu halva_show_main_menu(); // social links halva_nav_social_links(); // subscribe halva_nav_subscribe_link(); ?> </div> <!-- end: central block --> </div> </div> <button type="button" class="bwp-button bwp-hide-main-nav bwp-hide-main-nav-button"> <i class="fa-solid fa-arrow-up"></i> </button> </nav> <div class="bwp-hidden-main-nav-overlay bwp-hide-main-nav"></div> <!-- end: main navigation (hidden) --> <?php } // end: hidden navigation ?> <!-- container with site content --> <div class="bwp-site-content"> <!-- header --> <header class="bwp-site-header"> <div class="container"> <div class="bwp-site-header-container"> <?php // main logo (image or text) halva_show_main_logo(); // site title (h1) if ( ! is_singular() && ! is_404() ) { $site_title = get_bloginfo( 'name' ); ?> <!-- site title --> <h1 class="bwp-site-title screen-reader-text"><?php echo esc_html( $site_title ); ?></h1> <!-- end: site title --> <?php } ?> </div> </div> </header> <!-- end: header --> <!-- secondary navigation --> <nav class="bwp-secondary-nav"> <div class="container"> <div class="bwp-secondary-nav-container"> <div class="bwp-central-block clearfix"> <?php // main menu halva_show_main_menu(); // social links halva_nav_social_links(); // subscribe halva_nav_subscribe_link(); ?> </div> </div> </div> </nav> <!-- end: secondary navigation -->