web/wp-content/themes/thematic/attachment.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             the_post();
       
    17             
       
    18             // displays the page title
       
    19 			thematic_page_title();
       
    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 					<div class="entry-attachment"><?php the_attachment_link($post->post_ID, true) ?></div>
       
    34                     
       
    35                         <?php 
       
    36                         
       
    37                         the_content(more_text());
       
    38 
       
    39                         wp_link_pages('before=<div class="page-link">' .__('Pages:', 'thematic') . '&after=</div>');
       
    40                         
       
    41                         ?>
       
    42                         
       
    43 				</div>
       
    44                 
       
    45 				<?php
       
    46                 
       
    47                 // creating the post footer
       
    48                 thematic_postfooter();
       
    49                 
       
    50                 ?>
       
    51                 
       
    52 			</div><!-- .post -->
       
    53 
       
    54             <?php
       
    55             
       
    56             comments_template();
       
    57             
       
    58             ?>
       
    59 
       
    60 		</div><!-- #content -->
       
    61 	</div><!-- #container -->
       
    62 
       
    63 <?php 
       
    64 
       
    65     // action hook for placing content below #container
       
    66     thematic_belowcontainer();
       
    67 
       
    68     // calling the standard sidebar 
       
    69     thematic_sidebar();
       
    70 
       
    71     // calling footer.php
       
    72     get_footer();
       
    73 
       
    74 ?>