/
page.php
84 lines (73 loc) · 2.09 KB
/
page.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
<!DOCTYPE HTML>
<!--
Ion by TEMPLATED
templated.co @templatedco
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
-->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta charset="<?php bloginfo( 'charset' ); ?>">
<link rel="stylesheet" href="<?php echo esc_url( get_stylesheet_uri() ); ?>" type="text/css" />
<title><?php wp_title( '|', true, 'right' ); ?></title>
<?php wp_head(); ?>
</head>
<body id="top">
<!-- Header -->
<?php get_header(); ?>
<section id="main" class="wrapper style1">
<?php while ( have_posts() ) : the_post(); ?>
<header class="major">
<h2><a href="<?php get_permalink() ?>"><?php the_title(); ?></a></h2>
</header>
<div class="container">
<div class="row">
<div class="2u">
</div>
<div class="8u skel-cell-important">
<section>
<?php the_content(); ?>
</section>
</div>
</div>
<?php endwhile;
wp_reset_query();
?>
</section>
<!-- Footer -->
<a name="contact"></a>
<footer id="footer">
<div class="container">
<div class="row double">
<div class="6u">
<h2>Site map</h2>
<ul class="alt">
<?php $args = array(
'child_of' => get_option('page_on_front'),
'post_type' => 'page',
'post_status' => 'publish',
'title_li' => '',
); ?>
<?php $children = wp_list_pages( $args ); ?>
<?php if ($children) : ?>
<ul>
<?php echo $children; ?>
</ul>
<?php endif; ?>
</ul>
</div>
<div class="6u">
<?php get_footer(); ?>
</div>
</div>
<ul class="copyright">
<li>This page was designed with love</li>
<li>Source code on <a class="icon" href="http://github.com/alfredgg/wp-cap-theme">GitHub <i class="fa fa-github"></i></a></li>
</ul>
</div>
</footer>
</body>
</html>