-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
38 lines (32 loc) · 1.49 KB
/
header.php
File metadata and controls
38 lines (32 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <div id="content">
*
* @package Blank Theme
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<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">
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'blank-theme' ); ?></a>
<header id="masthead" class="site-header row-container" role="banner">
<div class="site-branding">
<?php echo blank_theme_site_branding(); ?>
</div><!-- .site-branding -->
<a id="primary-nav-button" class="blank-theme-mobile-nav-button" href="#site-navigation"><?php _e( 'Mobile Menu' , 'blank-theme' ); ?></a>
<nav id="site-navigation" class="blank-theme-main-navigation" role="navigation">
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_id' => 'primary-menu' , 'depth' => 3 ) ); ?>
</nav><!-- #site-navigation -->
</header><!-- #masthead -->
<?php get_template_part( 'template-parts/slider' ); ?>
<?php ip_visitor_country(); //var_dump(file_get_contents("http://www.geoplugin.net/json.gp?ip=" . $_SERVER["REMOTE_ADDR"])); //echo ip_info($_SERVER["REMOTE_ADDR"], "Country"); ?>
<div id="content" class="site-content row">