Server IP : 192.158.238.246 / Your IP : 3.14.64.102 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/jenniferflocom/www/wp-content/themes/simple-glassy/ |
Upload File : |
<?php /** * The header for our theme * * Displays all of the <head> section and everything up till <div id="content"> * * @package SimpleGlassy */ // Exit if accessed directly. defined( 'ABSPATH' ) || exit; ?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="profile" href="http://gmpg.org/xfn/11"> <?php wp_head(); ?> </head> <body <?php body_class(); ?> <?php simpleglassy_body_attributes(); ?>> <?php do_action( 'wp_body_open' ); ?> <div class="site" id="page"> <!-- ******************* The Navbar Area ******************* --> <div id="wrapper-header" class="container pt-3"> <a class="skip-link sr-only sr-only-focusable" href="#content"><?php esc_html_e( 'Skip to content', 'simple-glassy' ); ?></a> <div class="site-header flex-row d-sm-inline-flex w-100 align-items-center p-3 mb-3 bg-glassy rounded"> <?php if ( function_exists( 'the_custom_logo' ) ) { the_custom_logo(); } ?> <?php if ( is_front_page() && is_home() ) : ?> <h1 class="site-title mr-lg-3 mb-0"><a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" itemprop="url"><?php bloginfo( 'name' ); ?></a><span class="site-description mt-1"><?php bloginfo( 'description' ); ?></span></h1> <?php else : ?> <div class="site-title mr-lg-3"><a rel="home" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" itemprop="url"><?php bloginfo( 'name' ); ?></a><span class="site-description mt-1"><?php bloginfo( 'description' ); ?></span></div> <?php endif; ?> <form method="get" id="topsearchform" class="d-none d-lg-block ml-auto" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search"> <label class="sr-only" for="topsearch"><?php esc_html_e( 'Search', 'simple-glassy' ); ?></label> <div class="input-group"> <input class="form-control" id="topsearch" name="s" type="text" aria-label="<?php esc_attr_e( 'Search input', 'simple-glassy' ); ?>" placeholder="<?php esc_attr_e( 'Search …', 'simple-glassy' ); ?>" value="<?php the_search_query(); ?>"> <span class="input-group-append"> <button class="submit btn btn-primary" id="topsearchsubmit" type="submit" aria-label="<?php esc_attr_e( 'Search submit', 'simple-glassy' ); ?>"><i class="sgicon sgicon-search" aria-hidden="true"></i></button> </span> </div> </form> </div> </div> <div id="wrapper-navbar" class="container"> <nav id="main-nav" class="navbar navbar-expand-lg navbar-light bg-glassy rounded px-2" aria-labelledby="main-nav-label"> <h2 id="main-nav-label" class="sr-only"> <?php esc_html_e( 'Main Navigation', 'simple-glassy' ); ?> </h2> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="<?php esc_attr_e( 'Toggle navigation', 'simple-glassy' ); ?>"> <i class="sgicon sgicon-bars" aria-hidden="true"></i> </button> <!-- The WordPress Menu goes here --> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container_class' => 'collapse navbar-collapse', 'container_id' => 'navbarNavDropdown', 'menu_class' => 'navbar-nav pt-2 pt-lg-0', 'fallback_cb' => '', 'menu_id' => 'main-menu', 'depth' => 2, 'walker' => new Simpleglassy_WP_Bootstrap_Navwalker(), ) ); ?> <form method="get" id="navsearchform" class="d-lg-none" action="<?php echo esc_url( home_url( '/' ) ); ?>" role="search"> <label class="sr-only" for="navsearch"><?php esc_html_e( 'Search', 'simple-glassy' ); ?></label> <div class="input-group"> <input class="form-control" id="navsearch" name="s" type="text" aria-label="<?php esc_attr_e( 'Search input', 'simple-glassy' ); ?>" placeholder="<?php esc_attr_e( 'Search …', 'simple-glassy' ); ?>" value="<?php the_search_query(); ?>"> <span class="input-group-append"> <button class="submit btn btn-primary" id="navsearchsubmit" type="submit" aria-label="<?php esc_attr_e( 'Search submit', 'simple-glassy' ); ?>"><i class="sgicon sgicon-search" aria-hidden="true"></i></button> </span> </div> </form> </nav><!-- .site-navigation --> </div><!-- #wrapper-navbar end -->