-
Notifications
You must be signed in to change notification settings - Fork 1
/
header.php
105 lines (100 loc) · 4.25 KB
/
header.php
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<?php $options = get_option( 'revenudebase_options_prefix' ); ?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<meta content='Revenu De Base - Javascript & JQuery' name='description' />
<meta content='Gnuside' name='author' />
<link href='//fonts.googleapis.com/css?family=Concert+One:400|Parisienne:400|Karla:700,400|Dosis:400,500,600,700' rel='stylesheet' type='text/css' />
<link href='<?php echo get_template_directory_uri(); ?>/css/blueprint/screen.css' media='screen, projection' rel='stylesheet' />
<!--[if IE]>
<link href='<?php echo get_template_directory_uri(); ?>/css/blueprint/ie.css' media='screen, projection' rel='stylesheet' />
<![endif]-->
<link href='<?php echo get_template_directory_uri(); ?>/css/blueprint/print.css' media='print' rel='stylesheet' />
<link href='<?php echo get_template_directory_uri(); ?>/css/common.css' rel='stylesheet' />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="shortcut icon" href="<?php echo get_template_directory_uri(); ?>/images/favicon.ico" />
<title>
<?php
$title = bloginfo('name');
if ( is_404() ){
$title .= "»" . _e('Not Found');
} elseif ( is_home() ) {
$title .= "»" . bloginfo('description');
} else {
$title .= "»" . wp_title();
}
?>
</title>
<?php wp_head(); ?>
</head>
<body>
<div id="beforehead"></div>
<div class='container'>
<!-- / header with logo & stuff -->
<header class='top-header'>
<div class='logo'><a href="<?php bloginfo('wpurl'); ?>"><img src="<?php echo get_template_directory_uri(); ?>/images/logo.png"/></a>
</div>
<h1 class='name'><!-- TODO: replace with site title / handle linebreak --><a href="<?php bloginfo('wpurl'); ?>">Revenu
<br />
de Base</a></h1>
<div class='baseline'><!-- TODO: replace with description / handle linebreak -->
Et vous, que feriez-vous
<br />
si votre revenu était garanti ?
</div>
<div class='socialmedia'>
<?php if (!empty($options['layout_social_facebook'])): ?>
<div class='social'>
<a href='<?php echo $options['layout_social_facebook']; ?>'>
<img src='<?php echo get_template_directory_uri(); ?>/images/facebook.png' />
</a>
</div>
<?php endif; ?>
<?php if (!empty($options['layout_social_twitter'])): ?>
<div class='social'>
<a href='<?php echo $options['layout_social_twitter']; ?>'>
<img src='<?php echo get_template_directory_uri(); ?>/images/twitter.png' />
</a>
</div>
<?php endif; ?>
<?php if (!empty($options['layout_social_googleplus'])): ?>
<div class='social'>
<a href='<?php echo $options['layout_social_googleplus']; ?>'>
<img src='<?php echo get_template_directory_uri(); ?>/images/googleplus.png' />
</a>
</div>
<?php endif; ?>
<div class='social'>
<a href='<?php bloginfo('rss2_url'); ?>'>
<img src='<?php echo get_template_directory_uri(); ?>/images/rss.png' />
</a>
</div>
</div>
</header>
<nav>
<?php
if ( has_nav_menu( 'navigation_menu' ) ) {
wp_nav_menu(array(
'container' => '',
'menu_class' => 'major',
'theme_location' => 'navigation_menu'
));
}
?>
</nav>
<section class='content-container'>
<div id='definition'>
Le revenu de base est un revenu
<span>inconditionnel,</span>
versé
<span>dès la naissance</span>
et
<span>cumulable</span>
avec tout autre revenu.
</div>
<div id='content'>