| Server IP : 172.67.201.108 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/tgnew/wp-content/themes/strapvert/ |
Upload File : |
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package StrapVert
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<div class="container">
<?php do_action( 'before' ); ?>
<?php if ( get_theme_mod( 'strapvert_topmenu_visibility' ) != 1 ) { ?>
<?php get_template_part( 'top-navbar' ); ?>
<?php } ?>
<?php get_template_part( 'top-bar' ); ?>
<!-- Start of Main Nav Menu section -->
<div class="navbar navbar-inverse" id="main-menu">
<div class="container">
<?php if ( get_theme_mod( 'strapvert_navtitle_visibility' ) != 0 ) { ?>
<a class="brand" href="<?php echo esc_url(home_url( '/' )); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><span><?php bloginfo( 'name' ); ?></span></a>
<?php } ?>
<div class="navbar-inner">
<!-- Responsive Navbar Part 1: Button for triggering responsive navbar (not covered in tutorial). Include responsive CSS to utilize. -->
<a class="btn btn-navbar" data-toggle="collapse" data-target=".bottom-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<!-- Our menu needs to go here -->
<?php wp_nav_menu( array(
'theme_location' => 'secondary',
'container_class' => 'nav-collapse bottom-collapse',
'menu_class' => 'nav',
'depth' => 0,
'fallback_cb' => false,
'walker' => new StrapVert_Nav_Walker,
));
?>
</div><!-- /.navbar-inner -->
</div>
</div><!-- /.navbar -->
<!-- End Main Nav section -->
</div>
<div id="main" class="site-main">
<?php if ( is_front_page() ) : ?>
<div class="container clearfix">
<?php if ( get_theme_mod( 'strapvert_featured_visibility' ) != 1 ) { ?>
<div class="row" role="main">
<?php
if ( is_front_page() && ! is_paged() ) // condition should be same as in pre_get_posts
get_template_part( 'featured-content' );
?>
</div>
<hr />
<?php } ?>
</div>
<?php endif; ?>