web/wp-content/themes/IRI-Theme/single.php
changeset 136 bde1974c263b
child 170 8e3a5a6fc63e
equal deleted inserted replaced
135:53cff4b4a802 136:bde1974c263b
       
     1 <?php get_header(); ?>
       
     2 	<div class="column span-17 colborder first" id="maincontent">
       
     3 		<div class="content">
       
     4 			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
       
     5 				<?php  /*<div class="navigation small">
       
     6 					<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
       
     7 					<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
       
     8 				</div> */?> 
       
     9 				<div style="padding-bottom: 15px;"></div> 
       
    10 				<div class="post" id="post-<?php the_ID(); ?>">
       
    11 					<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" ><?php the_title(); ?></a></h2>
       
    12 					<p class="small">
       
    13 						<?php the_time('j, F Y') ?> &nbsp;|&nbsp; 
       
    14 						<?php /* the_author(); */ ?> 
       
    15 						<?php echo(__("Published")." : "); ?>
       
    16 						<?php
       
    17 							the_category(', ');
       
    18 							if($post->comment_count > 0) { 
       
    19 									echo ' &nbsp;|&nbsp; ';
       
    20 									if($post->comment_count > 1) { 
       
    21 										echo '<a href="#comments">' . $post->comment_count . ' Comments</a>';
       
    22 									} else {
       
    23 										echo '<a href="#comments">1 Comment</a>';
       
    24 									}
       
    25 							}
       
    26 							edit_post_link('Edit', ' &nbsp;|&nbsp; ', '');
       
    27 						?>
       
    28 					</p>
       
    29 					
       
    30 					<div class="entry">
       
    31 						<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
       
    32 						<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
       
    33 						
       
    34 					</div>
       
    35 					<div class="tag">
       
    36 					<?php the_tags('<strong>Mots clefs : </strong>',' | ','<br/> '); ?>
       
    37 					</div>
       
    38 				</div>
       
    39 			<?php comments_template(); ?>
       
    40 			<?php endwhile; else: ?>
       
    41 				<p><?php _e("Sorry, no such page."); ?></p>
       
    42 		<?php endif; ?>
       
    43 		<!-- ADD TO ANY -->
       
    44 		<?php 
       
    45 		if (get_the_ID()!=142) {
       
    46 			echo '<ul class="addtoany_list">'; if( function_exists('ADDTOANY_SHARE_SAVE_ICONS') ) ADDTOANY_SHARE_SAVE_ICONS( array("html_wrap_open" => "<li>", "html_wrap_close" => "</li>") ); if( function_exists('ADDTOANY_SHARE_SAVE_BUTTON') ) ADDTOANY_SHARE_SAVE_BUTTON( array("html_wrap_open" => "<li>", "html_wrap_close" => "</li>") ); echo '</ul>';
       
    47 		}
       
    48 		?>
       
    49 		<!-- -->
       
    50 </div>
       
    51 </div>
       
    52 <div class="column span-5 last">
       
    53 <?php include (TEMPLATEPATH . '/sidebar_single.php'); ?>
       
    54 </div>
       
    55 <hr></hr>
       
    56 <?php get_sidebar(); ?>
       
    57 <?php get_footer(); ?>