forked from noahbuscher/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage-landing.php
More file actions
54 lines (49 loc) · 1.23 KB
/
page-landing.php
File metadata and controls
54 lines (49 loc) · 1.23 KB
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
<?php /* Template Name: Landing */ ?>
<?php
get_header();
?>
<?php if (($img = has_post_thumbnail())): ?>
<section
class="hero hero-dark"
style="background-image: url(<?php echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>);"
>
<div class="hero-inner">
<h1 class="text-left text-white">
These are words.
</h1>
<h2 class="text-left text-white">
These are some more words.
</h2>
<div class="hero-actions">
<a class="btn btn-clear" href="#">Learn More</a>
</div>
</div>
</section>
<?php else: ?>
<section class="hero hero-slim hero-dark">
<div class="hero-inner">
<h1 class="text-centered text-dark"><?php echo get_the_title(get_option('page_for_posts', true)); ?></h1>
</div>
</section>
<?php endif; ?>
<div class="container">
<div class="row row-centered ">
<div class="col-1 text-mobile-centered">
<h3>
<small>First Section</small>
Big Header
</h3>
<p>
Some words that are appliciable to the text above.
</p>
<p>
<a href="/about" class="btn btn-top-margin">Learn More</a>
</p>
</div>
<div class="col-1">
</div>
</div>
</div>
<?php
get_footer();
?>