1
|
1 |
<?php |
|
2 |
/* |
|
3 |
Template Name: Links 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 |
|
|
16 |
<div id="container"> |
|
17 |
<div id="content"> |
|
18 |
|
|
19 |
<?php |
|
20 |
|
|
21 |
the_post(); |
|
22 |
|
|
23 |
?> |
|
24 |
|
|
25 |
<div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class() ?>"> |
|
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 |
?> |
|
40 |
|
|
41 |
<ul id="links-page" class="xoxo"> |
|
42 |
|
|
43 |
<?php |
|
44 |
|
|
45 |
wp_list_bookmarks(list_bookmarks_args()); |
|
46 |
|
|
47 |
?> |
|
48 |
|
|
49 |
</ul> |
|
50 |
|
|
51 |
<?php |
|
52 |
|
|
53 |
edit_post_link(__('Edit', 'thematic'),'<span class="edit-link">','</span>'); |
|
54 |
|
|
55 |
?> |
|
56 |
|
|
57 |
</div> |
|
58 |
</div><!-- .post --> |
|
59 |
|
|
60 |
<?php |
|
61 |
|
|
62 |
if ( get_post_custom_values('comments') ) |
|
63 |
comments_template() // Add a key/value of "comments" to enable comments on pages! |
|
64 |
|
|
65 |
?> |
|
66 |
|
|
67 |
</div><!-- #content --> |
|
68 |
</div><!-- #container --> |
|
69 |
|
|
70 |
<?php |
|
71 |
|
|
72 |
// action hook for placing content below #container |
|
73 |
thematic_belowcontainer(); |
|
74 |
|
|
75 |
// calling the standard sidebar |
|
76 |
thematic_sidebar(); |
|
77 |
|
|
78 |
// calling footer.php |
|
79 |
get_footer(); |
|
80 |
|
|
81 |
?> |