-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
45 lines (40 loc) · 1.17 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
<?php
do_action( 'genesis_doctype' );
do_action( 'genesis_title' );
do_action( 'genesis_meta' );
wp_head(); /** we need this for plugins **/
?>
<script type="text/javascript" src="//use.typekit.net/eth8fjq.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript">
$(window).load(function() {
// The slider being synced must be initialized first
$('#carousel').flexslider({
animation: "slide",
controlNav: false,
animationLoop: false,
animationSpeed: 1000,
slideshow: false,
itemWidth: 210,
itemMargin: 15,
asNavFor: '#slider'
});
$('#slider').flexslider({
animation: "slide",
controlNav: false,
animationLoop: false,
animationSpeed: 1000,
slideshow: false,
sync: "#carousel"
});
});
$(document).ready(function() {
//$('.hero h1').fitText('1.6');
});
</script>
</head>
<body <?php body_class(); ?>>
<?php
do_action( 'genesis_header' );
?>