Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
- $logo_img = get_theme_mod( 'image_logo' ); // Getting from option your choice.
- $sticky_logo_img = get_theme_mod( 'image_sticky_header_logo' ); // Getting from option your choice.
- if ( ! $sticky_logo_img )
- $sticky_logo_img = $logo_img;
- ?><!DOCTYPE html>
- <!--[if lt IE 7]>
- <html class="no-js lt-ie9 lt-ie8 lt-ie7" <?php language_attributes(); ?>> <![endif]-->
- <!--[if IE 7]>
- <html class="no-js lt-ie9 lt-ie8" <?php language_attributes(); ?>> <![endif]-->
- <!--[if IE 8]>
- <html class="no-js lt-ie9" <?php language_attributes(); ?>> <![endif]-->
- <!--[if gt IE 8]><!--> <html class="no-js" <?php language_attributes(); ?>> <!--<![endif]-->
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <base href="<?php echo site_url(); ?>" />
- <title><?php wp_title( '|', true, 'right' ); ?></title>
- <?php wp_head(); ?>
- </head>
- <body <?php body_class(); ?>>
- <!--[if lt IE 7]><p class="chromeframe">Your browser is <em>ancient!</em>
- <a href="http://browsehappy.com/">Upgrade to a different browser</a> or
- <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.
- </p><![endif]-->
- <div id="container">
- <?php po_change_loop_to_parent( 'change' ); ?>
- <?php if ( ! pojo_is_blank_page() ) : ?>
- <header id="header" class="logo-<?php echo ( 'logo_right' === get_theme_mod( 'header_layout' ) ) ? 'right' : 'left'; ?>">
- <div class="topbar" style="position: absolute;width:100%; height:50px; color: #FFF; line-height:50px; background:#1B1B1B; padding:0px; margin:0px; font-family:Helvetica,Arial,sans-serif; font-size:18px; ">
- <div class="link" style=" margin-right:auto; margin-left:auto; width:80%;">
- <div style="float:left; margin-right:10px; padding-top:0px;
- width:165px; font-weight:bold;"><img src="http://kerenshviis.org/wp-content/uploads/2015/06/tel3.png" alt="tel" /> 0330-1110777</div>
- <div style="float:left; margin-right:10px; width:150px; text-decoration:none !important; "><a href="https://www.cardknox.com/kerenhashviisuk" target="_blank"><img src="http://kerenshviis.org/wp-content/uploads/2015/06/card1.png" alt="donate" />Donate</a></div>
- <div style="float: right;">
- <div style="float:left; margin-right:10px;"><a href="https://www.kerenhashviis.com/" target="_blank"><img src="http://kerenshviis.org/wp-content/uploads/2015/06/us.png" /></a></div>
- <div style="float:left; margin-right:10px;"><a href="http://www.keren-hashviit.org.il/" target="_blank"><img src="http://kerenshviis.org/wp-content/uploads/2015/06/il.png" /></a></div>
- </div>
- </div>
- </div>
- <div class="<?php echo WRAP_CLASSES; ?>">
- <div class="logo" role="banner">
- <?php if ( ! empty( $logo_img ) ) : ?>
- <div class="logo-img">
- <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><img src="<?php echo esc_attr( $logo_img ); ?>" alt="<?php bloginfo( 'name' ); ?>" class="logo-img-primary" /></a>
- </div>
- <?php else : ?>
- <div class="logo-text">
- <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
- </div>
- <?php endif; ?>
- <button type="button" class="navbar-toggle visible-xs" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="sr-only"><?php _e( 'Toggle navigation', 'pojo' ); ?></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- </div>
- <nav class="nav-main">
- <div class="navbar-collapse collapse" role="navigation" >
- <?php if ( has_nav_menu( 'primary' ) ) : ?>
- <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => false, 'menu_class' => 'sf-menu hidden-xs', 'walker' => new Pojo_Navbar_Nav_Walker() ) );
- wp_nav_menu( array( 'theme_location' => has_nav_menu( 'primary_mobile' ) ? 'primary_mobile' : 'primary', 'container' => false, 'menu_class' => 'mobile-menu visible-xs', 'walker' => new Pojo_Navbar_Nav_Walker() ) ); ?>
- <?php else : ?>
- <mark class="menu-no-found"><?php printf( __( 'Please setup Menu <a href="%s">here</a>', 'pojo' ), admin_url( 'nav-menus.php?action=locations' ) ); ?></mark>
- <?php endif; ?>
- </div>
- </nav><!-- /#nav-menu -->
- </div><!-- /.container -->
- </header>
- <?php if ( get_theme_mod( 'chk_enable_sticky_header' ) ) :?>
- <div class="sticky-header logo-<?php echo ( 'logo_right' === get_theme_mod( 'header_layout' ) ) ? 'right' : 'left'; ?>" >
- <div class="<?php echo WRAP_CLASSES; ?>">
- <div class="logo" role="banner">
- <?php if ( ! empty( $logo_img ) ) : ?>
- <div class="logo-img">
- <a>" rel="home"><img />" alt="<?php bloginfo( 'name' ); ?>" class="logo-img-primary" /></a>
- </div>
- <?php else : ?>
- <div class="logo-text">
- <a>" rel="home"><?php bloginfo( 'name' ); ?></a>
- </div>
- <?php endif; ?>
- <button type="button" class="navbar-toggle visible-xs" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="sr-only"><?php _e( 'Toggle navigation', 'pojo' ); ?></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- </div>
- <nav class="nav-main">
- <div class="navbar-collapse collapse" role="navigation" >
- <?php if ( has_nav_menu( 'primary' ) ) : ?>
- <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => false, 'menu_class' => 'sf-menu hidden-xs', 'walker' => new Pojo_Navbar_Nav_Walker() ) );
- wp_nav_menu( array( 'theme_location' => has_nav_menu( 'primary_mobile' ) ? 'primary_mobile' : 'primary', 'container' => false, 'menu_class' => 'mobile-menu visible-xs', 'walker' => new Pojo_Navbar_Nav_Walker() ) ); ?>
- <?php else : ?>
- <mark class="menu-no-found"><?php printf( __( 'Please setup Menu <a href="%s">here</a>', 'pojo' ), admin_url( 'nav-menus.php?action=locations' ) ); ?></mark>
- <?php endif; ?>
- </div>
- </nav><!-- /#nav-menu -->
- </div><!-- /.container -->
- </div>
- <?php endif; // end sticky header ?>
- <?php endif; // end blank page ?>
- <div class="sticky-header-running"></div>
- <?php po_change_loop_to_parent(); ?>
- <?php get_template_part( 'core/subheader' ); ?>
- <div class="clearfix"></div>
- <div id="primary" role="document">
- <div class="<?php echo WRAP_CLASSES; ?>">
- <div id="content" class="<?php echo CONTAINER_CLASSES; ?>">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement