-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlanding.php
49 lines (42 loc) · 1.06 KB
/
landing.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
<?php
/**
* Carbon Framework.
*
* This file adds the landing page template to the Carbon Framework Theme.
*
* Template Name: Landing
*
* @package Carbon
* @since 0.0.1
* @version 0.0.2
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
?><!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="site-container" class="site-container">
<a class="skip-link screen-reader-text" href="#content"><?php _e( 'Skip to content', 'carbon' ); ?></a>
<div id="site-inner" class="site-inner">
<div id="content">
<?php
// Custom loop, remove all hooks except entry content.
if ( have_posts() ) :
the_post();
the_content();
endif;
?>
</div><!-- #content -->
</div><!-- #site-inner -->
</div><!-- #site-container -->
<?php wp_footer(); ?>
</body>
</html>