web/wp-content/themes/IRI-Theme/single.php
branchwordpress
changeset 123 561aa6d282f6
parent 109 03b0d1493584
equal deleted inserted replaced
112:fb7cd02b9848 123:561aa6d282f6
     1 <?php get_header(); ?>
     1 <?php get_header(); ?>
     2 	<div class="column span-17 colborder first" id="maincontent">
     2 	<div class="column span-17 colborder first" id="maincontent">
     3 		<div class="content">
     3 		<div class="content">
     4 			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
     4 			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
     5 				<!-- <div class="navigation small">
     5 				<?php  /*<div class="navigation small">
     6 					<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
     6 					<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
     7 					<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
     7 					<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
     8 				</div> 
     8 				</div> */?> 
     9 				<div style="padding-bottom: 15px;"></div> -->
     9 				<div style="padding-bottom: 15px;"></div> 
    10 				<div class="post" id="post-<?php the_ID(); ?>">
    10 				<div class="post" id="post-<?php the_ID(); ?>">
    11 					<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    11 					<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" ><?php the_title(); ?></a></h2>
    12 					<p class="small">
    12 					<p class="small">
    13 						<?php the_time('j, F Y') ?> &nbsp;|&nbsp; 
    13 						<?php the_time('j, F Y') ?> &nbsp;|&nbsp; 
    14 						<!-- by <?php the_author() ?> -->
    14 						<?php /* the_author(); */ ?> 
    15 						<?php echo(__("Published")." : "); ?>
    15 						<?php echo(__("Published")." : "); ?>
    16 						<?php
    16 						<?php
    17 							the_category(', ');
    17 							the_category(', ');
    18 							if($post->comment_count > 0) { 
    18 							if($post->comment_count > 0) { 
    19 									echo ' &nbsp;|&nbsp; ';
    19 									echo ' &nbsp;|&nbsp; ';
    30 					<div class="entry">
    30 					<div class="entry">
    31 						<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    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')); ?>
    32 						<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    33 						
    33 						
    34 					</div>
    34 					</div>
       
    35 					<div class="tag">
       
    36 					<?php the_tags('<strong>Mots clefs : </strong>',' | ','<br/> '); ?>
       
    37 					</div>
    35 				</div>
    38 				</div>
    36 			<?php comments_template(); ?>
    39 			<?php comments_template(); ?>
    37 			<?php endwhile; else: ?>
    40 			<?php endwhile; else: ?>
    38 				<p><?php _e("Sorry, no such page."); ?></p>
    41 				<p><?php _e("Sorry, no such page."); ?></p>
    39 		<?php endif; ?>
    42 		<?php endif; ?>
    40 		<!-- ADD TO ANY -->
    43 		<!-- ADD TO ANY -->
    41 		<?php 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>'; ?>
    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 		?>
    42 		<!-- -->
    49 		<!-- -->
    43 </div>
    50 </div>
    44 </div>
    51 </div>
    45 <div class="column span-5 last">
    52 <div class="column span-5 last">
    46 <?php include (TEMPLATEPATH . '/sidebar_single.php'); ?>
    53 <?php include (TEMPLATEPATH . '/sidebar_single.php'); ?>