equal
deleted
inserted
replaced
|
1 <?php |
|
2 /* |
|
3 Template Name: Archives Page |
|
4 */ |
|
5 ?> |
|
6 <?php |
|
7 |
|
8 // calling the header.php |
|
9 get_header(); |
|
10 |
|
11 // action hook for placing content above #container |
|
12 thematic_abovecontainer(); |
|
13 |
|
14 ?> |
|
15 <div id="container"> |
|
16 <div id="content"> |
|
17 |
|
18 <?php |
|
19 |
|
20 the_post(); |
|
21 |
|
22 ?> |
|
23 |
|
24 <div id="post-<?php the_ID() ?>" class="<?php thematic_post_class() ?>"> |
|
25 |
|
26 <?php |
|
27 |
|
28 // creating the post header |
|
29 thematic_postheader(); |
|
30 |
|
31 ?> |
|
32 |
|
33 <div class="entry-content"> |
|
34 |
|
35 <?php |
|
36 |
|
37 the_content(); |
|
38 |
|
39 // action hook for the 404 content |
|
40 thematic_archives(); |
|
41 |
|
42 edit_post_link(__('Edit', 'thematic'),'<span class="edit-link">','</span>'); |
|
43 |
|
44 ?> |
|
45 |
|
46 </div> |
|
47 </div><!-- .post --> |
|
48 |
|
49 <?php |
|
50 |
|
51 if ( get_post_custom_values('comments') ) |
|
52 comments_template(); // Add a key/value of "comments" to enable comments on pages! |
|
53 |
|
54 ?> |
|
55 |
|
56 </div><!-- #content --> |
|
57 </div><!-- #container --> |
|
58 |
|
59 <?php |
|
60 |
|
61 // action hook for placing content below #container |
|
62 thematic_belowcontainer(); |
|
63 |
|
64 // calling the standard sidebar |
|
65 thematic_sidebar(); |
|
66 |
|
67 // calling footer.php |
|
68 get_footer(); |
|
69 |
|
70 ?> |