/
header.php
70 lines (48 loc) · 2.02 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
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Off Limits
</title>
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri(); ?>/css/app.css">
<?php wp_head(); ?>
</head>
<body class="">
<!-- meta tags -->
<?php $cover = get_page_by_title("Cover"); ?>
<div id="cover" class="row expanded fixed w-100-v h-100-v z1 imgLiquid imgLiquidFill">
<?php echo get_the_post_thumbnail($cover->ID,'full'); ?>
</div>
<header id="cabecera" class="row expanded h-10-v m-0 p-0" data-sticky-container>
<div class="sticky columns h-10-v color-black-bg " data-sticky data-anchor="contenedor-sitio" data-margin-top="0" data-sticky-on="small">
<a class="logotipo h-100" href="<?php echo get_site_url(); ?>">
<div class="imagen imgLiquid imgLiquidNoFill">
<img src="<?php echo get_stylesheet_directory_uri(); ?>/img/logo-300w-2x.png" alt="Off Limits Logo"/>
</div>
</a>
<nav id="menu-sitio">
<ul>
<?php
$paginas = get_pages(
array(
'parent' => get_page_by_title('2017')->ID,
'sort_column' => 'menu_order'
)
);
?>
<?php foreach( $paginas as $pagina ) : ?>
<li class="columns small-2 h-10-v font-ml font3 v-center text-center" data-id="<?php echo $pagina->ID; ?>">
<!-- <a class="w-100" href="<?php echo get_the_permalink(get_the_ID()); ?>"> -->
<a class="w-100" href="#">
<?php echo apply_filters('the_title', $pagina->post_title); ?>
</a>
</li>
<?php endforeach; ?>
</ul>
</nav>
</div>
</header>
<main id="principal" class="row expanded h-a">