-
Notifications
You must be signed in to change notification settings - Fork 0
/
template-styleguide.php
50 lines (44 loc) · 1.29 KB
/
template-styleguide.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
<?php
/**
* The template for displaying all pages
*
* This is the template that displays all pages by default.
*/
get_header(); ?>
<div id="primary" class="content-area">
<div class="tagline">
<h1>Lightmatter Wordpress Template</h1>
</div>
<div class="half">
<div class="image">
<img src="http://placekitten.com/200/300">
</div>
<div class="text">
<h2>Alternating Columns</h2>
<p>Provide this with the class "reverse" to reverse the ordering.</p>
<a href="#" class="button">Button!</a>
</div>
</div>
<div class="half reverse middle">
<div class="image">
<img src="http://placekitten.com/200/300">
</div>
<div class="text">
<h2>Alternating Columns</h2>
<p>This adding of "reverse" is meant to be used for dynamic content like with <a href="https://www.advancedcustomfields.com/">ACF</a></p>
<p>Also this one is in the middle</p>
<a href="#" class="button large">Large Button!</a>
</div>
</div>
<div class="half bottom">
<div class="image">
<img src="http://placekitten.com/200/300">
</div>
<div class="text">
<h2>Alternating Columns</h2>
<p>Also this one is in the bottom</p>
<a href="#" class="button large">Large Button!</a>
</div>
</div>
</div>
<?php get_footer();