-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·57 lines (38 loc) · 1.42 KB
/
index.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
<?php get_header(); ?>
<?php do_action('before_hero'); // better name for this hook, please? ?>
<section id="hero-container">
<div class="hero-wrapper">
<?php do_action('in_hero'); // better name for this hook, please? ?>
</div>
</section>
<?php do_action('after_hero'); // better name for this hook, please? ?>
<?php do_action('before_world'); ?>
<section id="world">
<div id="content-container">
<div class="content-wrapper">
<?php do_action('before_content'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article id="item-<?php the_ID(); ?>" role="article" <?php post_class(); ?>>
<?php do_action('before_in_content'); ?>
<header class="content-header">
<h2><?php the_title(); ?></h2>
<!-- stuff -->
<?php do_action('in_content_header'); ?>
</header>
<section class="content-section">
<!-- content goes here -->
<?php do_action('in_content_section'); ?>
</section>
<footer class="content-footer">
<!-- empty footer --><!-- footer? edit links, authoring, modified data -->
<?php do_action('in_content_footer'); ?>
</footer>
<?php do_action('after_in_content'); ?>
</article>
<?php endwhile; endif; ?>
<?php do_action('after_content'); ?>
</div>
</div>
</section>
<?php do_action('after_world'); ?>
<?php get_footer(); ?>