/
single.php
47 lines (40 loc) · 1.56 KB
/
single.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
<?php get_header(); ?>
<!-- html structure based on http://microformats.org/wiki/hatom -->
<div id="content" class="hfeed">
<?php if(have_posts()) : ?>
<div class="g_Ad">
<script type="text/javascript"><!--
google_ad_client = "pub-8971193464927560";
/* 728x90, created 4/23/08 */
google_ad_slot = "8510043230";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<?php while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" class="post hentry">
<h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="meta">
<abbr class="published" title="<?php the_time('Y-m-d\TH:m:s\Z', true); ?>"><?php the_time("M j Y"); ?></abbr>
<div class="comments"><?php comments_popup_link("0 notes", "1 note", "% notes", "notes", ""); ?></div>
</div>
<?php edit_post_link("Edit", '<div class="meta edit">', "</div>"); ?>
<div class="entry-content">
<?php the_content(); ?>
</div>
</div>
<div class="navigation">
<div class="backward"><?php previous_post_link('« %link') ?></div>
<div class="forward"><?php next_post_link('%link »') ?></div>
</div>
<div class="clear-both"></div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p class="no-posts">Hrm, nothing matched that.</p>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>