Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 84 lines (50 sloc) 1.878 kb
5fb3c05 Added page template page-fullwidth.php: http://themeshaper.com/forums/to...
downstairsdev authored
1 <?php
2 /**
3 * Template Name: Full Width
4 *
5 * This Full Width template removes the primary and secondary asides so that content
6 * can be displayed the entire width of the #content area.
7 *
8 */
9
10
11 // calling the header.php
12 get_header();
13
14 // action hook for placing content above #container
15 thematic_abovecontainer();
16
17 ?>
18
19 <div id="container">
20
21 <?php thematic_abovecontent(); ?>
22
23 <div id="content">
24
25 <?php
26
27 // calling the widget area 'page-top'
28 get_sidebar('page-top');
29
30 the_post();
31
32 thematic_abovepost();
33
34 ?>
35
36 <div id="post-<?php the_ID(); ?>" class="<?php thematic_post_class() ?>">
37
38 <?php
39
40 // creating the post header
41 thematic_postheader();
42
43 ?>
44
45 <div class="entry-content">
46
47 <?php
48
49 the_content();
50
51 wp_link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ', 'thematic'), "</div>\n", 'number');
52
53 edit_post_link(__('Edit', 'thematic'),'<span class="edit-link">','</span>') ?>
54
55 </div>
56 </div><!-- .post -->
57
58 <?php
59
60 thematic_belowpost();
61
62 // calling the comments template
63 thematic_comments_template();
64
65 // calling the widget area 'page-bottom'
66 get_sidebar('page-bottom');
67
68 ?>
69
70 </div><!-- #content -->
71
72 <?php thematic_belowcontent(); ?>
73
74 </div><!-- #container -->
75
76 <?php
77
78 // action hook for placing content below #container
79 thematic_belowcontainer();
80
81 // calling footer.php
82 get_footer();
83
84 ?>
Something went wrong with that request. Please try again.