-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
44 lines (31 loc) · 990 Bytes
/
Copy pathsingle.php
File metadata and controls
44 lines (31 loc) · 990 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
<?php get_header(); ?>
<div id="content-post" class="main-content">
<div id="post-content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<h2 class="title"><?php the_date(); ?></h2>
<h1 class="title"><?php the_title(); ?></h1>
<?php the_content() ?>
</div>
<div id="post-comments">
<?php
if ( comments_open() || get_comments_number() ) :
comments_template();
endif;
?>
</div>
<?php endwhile; else: ?>
<div class="error">
<h1>This page does not exist</h1>
<p>
The requested URL may have been entered incorrectly or removed.
</p>
</div>
<?php endif; ?>
</div>
<a href="<?php echo bloginfo('home'); ?>/archive" class="big-orange-button back-button">« Back to Archive</a>
<div id="post-about">
<?php dynamic_sidebar( 'Archive Post About' ); ?>
</div>
</div>
<?php get_footer(); ?>