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