-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
83 lines (60 loc) · 3.2 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<?php get_header(); ?>
<body>
<?php include(TEMPLATEPATH . '/siteHeader.php'); ?>
<div id="siteContent" class="clearfix">
<div class="widthConstraint clearfix">
<div id="definition">
<div id="definitionInner">
<strong>Hacker</strong> [hack·er] /n/ - One who seeks to understand the details of a system and strives to stretch it's capabilities beyond the original intent.
</div>
</div>
<?php include(TEMPLATEPATH . '/notifications.php'); ?>
<?php if (have_posts()): ?>
<?php while (have_posts()): ?>
<?php the_post(); ?>
<div class="contentBox">
<div class="titleWrapper clearfix">
<h2 class="postTitle floatLeft">
<a href="<?php the_permalink(); ?>" title="Permanent Link to <?php the_title_attribute(); ?>">
<?php the_title(); ?>
</a>
</h2>
<div class="postInfo floatRight">
<?php edit_post_link('Edit', null, ' | '); ?>
<?php comments_popup_link('No Comments', '1 Comment', '% Comments', 'postComments', 'Comments Disabled'); ?>
</div>
</div>
<?php if (has_post_thumbnail()): ?>
<?php the_post_thumbnail('full', array('class' => 'postFeaturedImage')); ?>
<?php endif; ?>
<div class="postContent clearfix">
<?php the_content(); ?>
</div>
<div class="postMetaData">
Posted by, <?php the_author_posts_link() ?>
on <?php the_time(get_option('date_format')); ?>
at <?php the_time(); ?>
to <?php the_category(', '); ?>
<?php the_tags('with the tags '); ?>
</div>
</div>
<?php endwhile; ?>
<?php else: ?>
<div class="contentBox">
<p>Sorry, no posts matched your criteria.Sorry, no posts matched your criteria.</p>
</div>
<?php endif; ?>
<?php if(function_exists('wp_pagenavi')): ?>
<div id="pagination">
<?php wp_pagenavi(); ?>
</div>
<?php endif; ?>
<?php get_footer(); ?>
</div>
</div>
<div id="bgImage"></div>
</body>
</html>