HEX
Server: nginx/1.24.0
System: Linux nowruzgan 6.8.0-57-generic #59-Ubuntu SMP PREEMPT_DYNAMIC Sat Mar 15 17:40:59 UTC 2025 x86_64
User: babak (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/negarestandoc.ir/root/wp-content/themes/generatepress-child/header.php
<?php
/**
 * The template for displaying the header.
 *
 * @package GeneratePress
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<?php wp_head(); ?>
	<link rel="stylesheet" href="/wp-includes/bootstrap/css/bootstrap.rtl.min.css" rel="stylesheet">
	<link rel="stylesheet" href="/wp-includes/bootstrap/icons/font/bootstrap-icons.min.css">
	<script src="/wp-includes/bootstrap/js/bootstrap.bundle.min.js" integrity="sha384-j1CDi7MgGQ12Z7Qab0qlWQ/Qqz24Gc6BM0thvEMVjHnfYGF0rmFCozFSxQBxwHKO" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.7.1.js" integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4=" crossorigin="anonymous"></script>
	<script src="<?php echo esc_url( get_stylesheet_directory_uri().'/js/persianumber.min.js'); ?>"></script>
<script>
jQuery(document).ready(function($) {
	$('.persianumber').persiaNumber();
});
</script>

</head>
<body <?php body_class(); ?> <?php generate_do_microdata( 'body' ); ?> >
<header class="site-header">
  <div class="container">
    <div class="row py-3 align-items-end">
  
      <!-- LEFT: brand -->
      <div class="col-12 col-lg-6 d-flex flex-row g-2">
				  <div class="site-footer-logo me-2" bis_skin_checked="1">
            <?php if ( has_custom_logo() ) the_custom_logo(); ?>
</div>
				<div class="pt-1" bis_skin_checked="1">
        <a href='/' class="site-title h3 text-reset fw-bold mb-0">نگارستان</a>
		<p class="mb-0 small">پایگاه رقومی اسناد تصویری تاریخ شهر و معماری ایران</p>
		<p class="mb-0 small">Visual Documents Knowledge Base of Iranian Urban and Architectural Heritage</p>
		</div>
      </div>		
         
  
        <!-- toggler only on mobile -->
  
  
      <!-- RIGHT: search + menu -->
      <div class="col-12 col-lg-6 d-lg-flex flex-lg-column align-items-lg-end justify-content-lg-end">
  <!-- search -->
          <div class="row g-2 mt-2">
        <div class="float-end">
            <form method="get" action="<?php echo site_url('/search-results'); ?>"
                  class="search-form w-100 float-end w-lg-auto ms-lg-auto" style="max-width:380px;">
              <div class="input-group">
                <input type="search" name="search" class="form-control" placeholder="<?php esc_attr_e('جستجو در اسناد …','gp-child'); ?>">
                <button class="btn btn-teal" type="submit"><i class="bi bi-search"></i></button>
              </div>
            </form>
  </div>
          </div>
        <!-- Collapses on mobile; always visible on lg+ -->
  
          
  
          <!-- menu -->
          <div class="row mt-3">
            <button class="navbar-toggler h3 d-lg-none mt-2"
                type="button"
                data-bs-toggle="collapse"
                data-bs-target="#headerCollapse"
                aria-controls="headerCollapse"
                aria-expanded="false"
                aria-label="Toggle navigation">
          <i class="bi h2 bi-list"></i>
        </button>
            <div id="headerCollapse" class="collapse d-lg-block w-100">
  
            <nav class="w-100">
              <?php
              wp_nav_menu([
                'theme_location' => 'primary',
                'container'      => false,
                // flex-column on mobile → row on desktop; right-aligned on lg+
                'menu_class'     => 'nav main-menu m-0 w-100 gap-2 gap-lg-3 flex-column flex-lg-row justify-content-lg-end text-center',
                'fallback_cb'    => false,
              ]);
              ?>
            </nav>
          </div>
  
        </div>
      </div>
    </div>
  </div>
</header>
<section class="bg-success-subtle py-3">

</section>