web/wp-content/themes/IRI-Theme/single.php
changeset 170 8e3a5a6fc63e
parent 136 bde1974c263b
child 194 32102edaa81b
equal deleted inserted replaced
169:2d410dc8c1f3 170:8e3a5a6fc63e
    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" ><?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 						<?php /* the_author(); */ ?> 
    14 						<?php /* the_author(); */ ?> 
    15 						<?php echo(__("Published")." : "); ?>
    15 						<?php echo(__("Published",'IriTheme')." : "); ?>
    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; ';
    20 									if($post->comment_count > 1) { 
    20 									if($post->comment_count > 1) { 
    23 										echo '<a href="#comments">1 Comment</a>';
    23 										echo '<a href="#comments">1 Comment</a>';
    24 									}
    24 									}
    25 							}
    25 							}
    26 							edit_post_link('Edit', ' &nbsp;|&nbsp; ', '');
    26 							edit_post_link('Edit', ' &nbsp;|&nbsp; ', '');
    27 						?>
    27 						?>
       
    28 						&nbsp;|&nbsp; 
       
    29 						<?php if (class_exists('xili_language') && is_user_logged_in()) { xiliml_the_other_posts($post->ID,__("This post in",'IriTheme')," | "); } ?>
    28 					</p>
    30 					</p>
    29 					
    31 					
    30 					<div class="entry">
    32 					<div class="entry">
    31 						<?php the_content('<p class="serif">Read the rest of this entry &raquo;</p>'); ?>
    33 						<?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')); ?>
    34 						<?php wp_link_pages(array('before' => '<p><strong>'.__("Pages",'IriTheme').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
    33 						
    35 						
    34 					</div>
    36 					</div>
    35 					<div class="tag">
    37 					<div class="tag">
    36 					<?php the_tags('<strong>Mots clefs : </strong>',' | ','<br/> '); ?>
    38 					<?php the_tags('<strong>'.__("Tags :",'IriTheme').'</strong>',' | ','<br/> '); ?>
    37 					</div>
    39 					</div>
    38 				</div>
    40 				</div>
    39 			<?php comments_template(); ?>
    41 			<?php comments_template(); ?>
    40 			<?php endwhile; else: ?>
    42 			<?php endwhile; else: ?>
    41 				<p><?php _e("Sorry, no such page."); ?></p>
    43 				<p><?php _e("Sorry, no such page.",'IriTheme'); ?></p>
    42 		<?php endif; ?>
    44 		<?php endif; ?>
    43 		<!-- ADD TO ANY -->
    45 		<!-- ADD TO ANY -->
    44 		<?php 
    46 		<?php 
    45 		if (get_the_ID()!=142) {
    47 		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>';
    48 			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>';