-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
45 lines (30 loc) · 919 Bytes
/
Copy pathsingle.php
File metadata and controls
45 lines (30 loc) · 919 Bytes
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
<?php
/*
* Internet Society WordPress Template
*
* The template for displaying single posts.
*
*/
get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="navigation">
<table width="100%">
<tr>
<td width="50%"><div class="navleft"><?php previous_post_link('« %link'); ?></div></td>
<td width="50%"><div class="navright"><?php next_post_link('%link »'); ?></div></td>
</tr>
</table>
<hr/>
</div>
<div class="post" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1><?php the_title(); ?></h1>
<div class="entry">
<?php the_content(); ?>
</div>
<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
<?php get_template_part( 'meta' ); ?>
<hr>
</div>
<?php comments_template(); ?>
<?php endwhile; endif; ?>
<?php get_footer(); ?>