forked from SayflyAM/Amir-Travel-Europe---Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
36 lines (28 loc) · 847 Bytes
/
header.php
File metadata and controls
36 lines (28 loc) · 847 Bytes
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
<?php
/**
* The header for our theme.
*
* Displays all of the <head> section and everything up till <header>
*
* @package Travel Tour
*/
?><!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="<?php echo esc_url( 'http://gmpg.org/xfn/11' ); ?>">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php
// Default values for 'travel_tour_social_media' theme mod.
$defaults = "";
$social_media = get_theme_mod( 'travel_tour_social_media', $defaults );
?>
<?php
set_query_var( 'social_media', $social_media );
get_template_part( 'layouts/header/header-layout', 'one' );
?>