-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
37 lines (22 loc) · 923 Bytes
/
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
<?php get_header(); ?>
<div id="main">
<div id="contentwrapper">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="topPost">
<h2 class="topTitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<div class="topContent"><?php the_content('(continue reading...)'); ?></div>
<div class="cleared"></div>
</div> <!-- Closes topPost -->
<?php endwhile; ?>
<?php else : ?>
<div class="topPost">
<h2 class="topTitle"><a href="<?php the_permalink() ?>">Not Found</a></h2>
<div class="topContent"><p>Sorry, but you are looking for something that isn't here. You can search again by using <a href="#searchform">this form</a>...</p></div>
</div> <!-- Closes topPost -->
<?php endif; ?>
</div> <!-- Closes contentwrapper-->
<?php get_sidebar(); ?>
<div class="cleared"></div>
</div><!-- Closes Main -->
<?php get_footer(); ?>