equal
deleted
inserted
replaced
|
1 <?php get_header(); ?> |
|
2 |
|
3 <?php if (have_posts()) : the_post(); ?> |
|
4 <div class="post"> |
|
5 <div class="title"> |
|
6 <h2><?php the_title(); ?></h2> |
|
7 <div class="fixed"></div> |
|
8 </div> |
|
9 <div class="info"> |
|
10 <?php edit_post_link(__('Edit', 'elegantbox'), '<span class="edit">', '</span>'); ?> |
|
11 <span><?php _e('Update: ', 'elegantbox'); the_modified_time(__('F jS, Y', 'elegantbox')) ?></span> |
|
12 <div class="fixed"></div> |
|
13 </div> |
|
14 <div class="content"> |
|
15 <?php the_content(); ?> |
|
16 <div class="fixed"></div> |
|
17 </div> |
|
18 </div> |
|
19 |
|
20 <?php |
|
21 // Support comments for WordPress 2.7 or higher |
|
22 if (function_exists('wp_list_comments')) { |
|
23 comments_template('', true); |
|
24 } else { |
|
25 comments_template(); |
|
26 } |
|
27 ?> |
|
28 |
|
29 <?php else : ?> |
|
30 <div class="messagebox"> |
|
31 <div class="content small"> |
|
32 <?php _e('Sorry, no posts matched your criteria.', 'elegantbox'); ?> |
|
33 </div> |
|
34 </div> |
|
35 |
|
36 <?php endif; ?> |
|
37 </div> |
|
38 |
|
39 <?php get_sidebar(); ?> |
|
40 |
|
41 <div class="fixed"></div> |
|
42 |
|
43 <div id="bottom"> |
|
44 |
|
45 <?php get_footer(); ?> |