-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
50 lines (29 loc) · 1.04 KB
/
header.php
File metadata and controls
50 lines (29 loc) · 1.04 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
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta name="description" content="<?php wp_title(''); echo ' | '; bloginfo( 'description' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page-wrap">
<div id="header">
<div class="row">
<h1 id="logo"><a href="<?php echo home_url( '/' ); ?>" title="<?php bloginfo('name'); ?>">
<?php
$options = get_option( 'cram_options' );
if ( isset( $options['logo_display'] ) and isset( $options['logo_file'] ) ) :
echo( '<img src="' . $options['logo_file'] . '">' );
else :
bloginfo( 'name' );
endif;
?>
</a></h1>
</div><!-- row -->
<nav id="menu">
<input type="checkbox" id="menu-toggle" class="toggle">
<label for="menu-toggle" class="toggle">Menu</label>
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => false, 'menu_class' => 'drop menu target' )); ?>
</nav>
</div><!-- header -->
<div id="content">