<?php /** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id="content"> * * @package Tutor */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width"> <link rel="profile" href="http://gmpg.org/xfn/11"> <?php if(is_singular() && pings_open()) { ?> <link rel="pingback" href="<?php echo esc_url( get_bloginfo( 'pingback_url' )); ?>"> <?php } ?> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <?php //wp_body_open hook from WordPress 5.2 if ( function_exists( 'wp_body_open' ) ) { wp_body_open(); } else { do_action( 'wp_body_open' ); } ?> <a class="skip-link screen-reader-text" href="#sitemain"> <?php _e( 'Skip to content', 'tutor' ); ?> </a> <?php $hidetopbar = get_theme_mod('hide_topbar', '1'); ?> <?php if($hidetopbar == ''){ ?> <div class="header-top"> <div class="head-top-inner"> <div class="top-left"> <?php if(get_theme_mod('email') != '') { ?> <div class="mail"> <i class="fa fa-envelope" aria-hidden="true"></i> <a href="<?php echo esc_url('mailto:'.get_theme_mod('email')); ?>"><?php echo esc_html(get_theme_mod('email')); ?></a> </div><!-- mail --> <?php } ?> <?php if(get_theme_mod('phone') != '') { ?> <div class="call"> <i class="fa fa-phone" aria-hidden="true"></i> <?php echo esc_html(get_theme_mod('phone',true)); ?> </div><!-- call --> <?php } ?><div class="clear"></div> </div><!-- top-left --> <div class="top-right"> <ul> <?php if((get_theme_mod('scname1')) || (get_theme_mod('sclink1')) != '') {?> <li><a href="<?php echo esc_url(get_theme_mod('sclink1',true)); ?>"><i class="fa fa-<?php echo esc_attr(get_theme_mod('scname1',true)); ?>" aria-hidden="true"></i></a></li> <?php } ?> <?php if((get_theme_mod('scname2')) || (get_theme_mod('sclink2')) != '') { ?> <li><a href="<?php echo esc_url(get_theme_mod('sclink2',true)); ?>"><i class="fa fa-<?php echo esc_attr(get_theme_mod('scname2',true)); ?>" aria-hidden="true"></i></a></li> <?php } ?> <?php if((get_theme_mod('scname3')) || (get_theme_mod('sclink3')) != '') { ?> <li><a href="<?php echo esc_url(get_theme_mod('sclink3',true)); ?>"><i class="fa fa-<?php echo esc_attr(get_theme_mod('scname3',true)); ?>" aria-hidden="true"></i></a></li> <?php } ?> <?php if((get_theme_mod('scname4')) || (get_theme_mod('sclink4')) != '') { ?> <li><a href="<?php echo esc_url(get_theme_mod('sclink4',true)); ?>"><i class="fa fa-<?php echo esc_attr(get_theme_mod('scname4',true)); ?>" aria-hidden="true"></i></a></li> <?php } ?> </ul> </div><!-- top-right --><div class="clear"></div> </div><!-- head-top-inner --> </div><!--end header-top--> <?php } ?> <div id="header"> <div class="header-inner"> <div class="logo"> <?php tutor_the_custom_logo(); ?> <h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php esc_html(bloginfo( 'name' )); ?></a></h1> <?php $description = get_bloginfo( 'description', 'display' ); if ( $description || is_customize_preview() ) : ?> <p><?php echo esc_html($description); ?></p> <?php endif; ?> </div><!-- logo --> <div class="prime-menu"> <div class="prime-inner"> <div class="toggle"> <a class="toggleMenu" href="#"> <?php esc_html_e('Menu','tutor'); ?> </a> </div><!-- toggle --> <div class="sitenav"> <?php wp_nav_menu( array('theme_location' => 'primary') ); ?> </div><!--.sitenav --> <div class="clear"></div> </div><!-- prime-inner --> </div><!-- prime-menu --><div class="clear"></div> </div><!-- .header-inner--> </div><!-- .header -->
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
css | Folder | 0755 |
|
|
customize-pro | Folder | 0755 |
|
|
images | Folder | 0755 |
|
|
inc | Folder | 0755 |
|
|
js | Folder | 0755 |
|
|
404.php | File | 879 B | 0644 |
|
archive.php | File | 1.15 KB | 0644 |
|
change_log.txt | File | 209 B | 0644 |
|
comments.php | File | 1.98 KB | 0644 |
|
content-page.php | File | 686 B | 0644 |
|
content-single.php | File | 1.46 KB | 0644 |
|
content.php | File | 3.84 KB | 0644 |
|
editor-style.css | File | 139 B | 0644 |
|
footer.php | File | 689 B | 0644 |
|
front-page.php | File | 3.27 KB | 0644 |
|
full-width.php | File | 947 B | 0644 |
|
functions.php | File | 6.16 KB | 0644 |
|
header.php | File | 4.18 KB | 0644 |
|
image.php | File | 3.97 KB | 0644 |
|
index.php | File | 1.58 KB | 0644 |
|
license.txt | File | 34.97 KB | 0644 |
|
no-results.php | File | 998 B | 0644 |
|
page.php | File | 1.03 KB | 0644 |
|
readme.txt | File | 3.5 KB | 0644 |
|
screenshot.png | File | 267.9 KB | 0644 |
|
search.php | File | 1007 B | 0644 |
|
searchform.php | File | 540 B | 0644 |
|
sidebar.php | File | 822 B | 0644 |
|
single.php | File | 909 B | 0644 |
|
style.css | File | 16.54 KB | 0644 |
|