-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
executable file
·56 lines (55 loc) · 1.52 KB
/
header.php
File metadata and controls
executable file
·56 lines (55 loc) · 1.52 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
51
52
53
54
55
56
<?php
/**
* The Header for our theme.
*
* @subpackage journalism
* @since journalism
*/
?><!DOCTYPE html>
<!--[if IE 7]>
<html id="ie7" <?php language_attributes(); ?>>
<![endif]-->
<!--[if IE 8]>
<html id="ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) & !(IE 8)]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width">
<?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?>
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
<?php endif;
wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header>
<div class="journalism_image_logo" style="background-image: url( '<?php header_image(); ?>' );">
<div class='journalism-logo'>
<div class="header">
<h1>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a>
</h1>
<p><?php bloginfo( 'description' ); ?></p>
</div>
</div><!--div logo-->
</div>
<!--top menu-->
<div class="journalism-top-menu">
<?php wp_nav_menu( array(
'theme_location' => 'primary',
'menu_class' => 'header-menu',
) ); ?>
<div class="clear"></div>
</div>
<!--top menu-->
</header>
<div class="journalism-carcas">
<noscript>
<h1><?php _e( 'You have JavaScript disabled...', 'journalism' ); ?></h1>
</noscript>
<?php if ( ! is_singular() ) {
do_action( 'journalism_slides_template' );
} ?>
<div class="clear"></div>