web/wp-content/themes/WNN-WP/single.php
changeset 1 0d28b7c10758
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     1 <?php get_header(); ?>
       
     2 		<div id="left">
       
     3 		<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
       
     4 			<div id="post" title="post-<?php the_ID(); ?>">
       
     5 				<div id="postinfotop">
       
     6 					Posted at <?php the_time(); ?> <?php the_date(); ?> by <?php the_author() ?>
       
     7 				</div>
       
     8 				<div id="postcontent">
       
     9 					<img src="<?php bloginfo('template_directory'); ?>/images/catimg.jpg" align="left" width="135px" height="135px" /><span id="h3"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></span><br /><?php the_content(__('(more...)')); ?> 
       
    10 				</div>
       
    11 				<div id="postbottom">
       
    12 					Posted in <?php the_category(', ') ?> | <?php comments_popup_link('No Comments &#187;', '[1] Comment', '[%] Comments;'); ?>
       
    13 				</div>
       
    14 				<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
       
    15 			</div>
       
    16 			<?php endwhile; ?>
       
    17 			<div class="navigation">
       
    18 			<br /><br />
       
    19 				<?php previous_post_link('&laquo; %link') ?> <?php next_post_link(' %link &raquo;') ?>
       
    20 			</div>
       
    21 			<?php else : ?>
       
    22 			<div id="post">
       
    23 				<h2><?php _e('Not Found'); ?></h2>
       
    24 			</div>
       
    25 				<?php endif; ?>
       
    26 				
       
    27 			<div id="commentss">
       
    28 				<?php comments_template(); ?>
       
    29 			</div>
       
    30 			</div>
       
    31 			<br />
       
    32 <?php get_sidebar(); ?>
       
    33 <?php get_footer(); ?>
       
    34 	</div>
       
    35 </body>
       
    36 </html>