1
|
1 |
<?php |
|
2 |
// calling the theme options |
|
3 |
global $options; |
|
4 |
foreach ($options as $value) { |
|
5 |
if (get_option( $value['id'] ) === FALSE) { |
|
6 |
$$value['id'] = $value['std']; |
|
7 |
} else { |
|
8 |
$$value['id'] = get_option( $value['id'] ); |
|
9 |
} |
|
10 |
} |
|
11 |
|
|
12 |
// calling the header.php |
|
13 |
get_header(); |
|
14 |
|
|
15 |
// action hook for placing content above #container |
|
16 |
thematic_abovecontainer(); |
|
17 |
|
|
18 |
?> |
|
19 |
|
|
20 |
<div id="container"> |
|
21 |
<div id="content"> |
|
22 |
|
|
23 |
<?php |
|
24 |
|
|
25 |
the_post(); |
|
26 |
|
|
27 |
// displays the page title |
|
28 |
thematic_page_title(); |
|
29 |
|
|
30 |
// create the navigation above the content |
|
31 |
thematic_navigation_above(); |
|
32 |
|
|
33 |
/* if display author bio is selected */ |
|
34 |
if($thm_authorinfo == 'true' & !is_paged()) { ?> |
|
35 |
|
|
36 |
<div id="author-info" class="vcard"> |
|
37 |
<h2 class="entry-title"><?php echo $authordata->first_name; ?> <?php echo $authordata->last_name; ?></h2> |
|
38 |
|
|
39 |
<?php |
|
40 |
|
|
41 |
// display the author's avatar |
|
42 |
thematic_author_info_avatar(); |
|
43 |
|
|
44 |
?> |
|
45 |
|
|
46 |
<div class="author-bio note"> |
|
47 |
<?php |
|
48 |
|
|
49 |
if ( !(''== $authordata->user_description) ) : echo apply_filters('archive_meta', $authordata->user_description); endif; ?> |
|
50 |
|
|
51 |
</div> |
|
52 |
<div id="author-email"> |
|
53 |
<a class="email" title="<?php echo antispambot($authordata->user_email); ?>" href="mailto:<?php echo antispambot($authordata->user_email); ?>"><?php _e('Email ', 'thematic') ?><span class="fn n"><span class="given-name"><?php echo $authordata->first_name; ?></span> <span class="family-name"><?php echo $authordata->last_name; ?></span></span></a> |
|
54 |
<a class="url" style="display:none;" href="<?php bloginfo('home') ?>/"><?php bloginfo('name') ?></a> |
|
55 |
</div> |
|
56 |
</div><!-- #author-info --> |
|
57 |
<?php |
|
58 |
} |
|
59 |
|
|
60 |
// action hook creating the author loop |
|
61 |
thematic_authorloop(); |
|
62 |
|
|
63 |
// create the navigation below the content |
|
64 |
thematic_navigation_below(); ?> |
|
65 |
|
|
66 |
</div><!-- #content --> |
|
67 |
</div><!-- #container --> |
|
68 |
|
|
69 |
<?php |
|
70 |
|
|
71 |
// action hook for placing content below #container |
|
72 |
thematic_belowcontainer(); |
|
73 |
|
|
74 |
// calling the standard sidebar |
|
75 |
thematic_sidebar(); |
|
76 |
|
|
77 |
// calling footer.php |
|
78 |
get_footer(); |
|
79 |
|
|
80 |
?> |