author | Anthony Ly <anthonyly.com@gmail.com> |
Mon, 19 Nov 2012 18:26:13 +0100 | |
changeset 194 | 32102edaa81b |
parent 170 | 8e3a5a6fc63e |
child 204 | 09a1c134465b |
permissions | -rw-r--r-- |
136 | 1 |
<?php get_header(); ?> |
2 |
<div class="column span-17 colborder first" id="maincontent"> |
|
194
32102edaa81b
MAJ wordpress et ajout de plugin
Anthony Ly <anthonyly.com@gmail.com>
parents:
170
diff
changeset
|
3 |
|
136 | 4 |
<div class="content"> |
5 |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> |
|
6 |
<?php /*<div class="navigation small"> |
|
7 |
<div class="alignleft"><?php previous_post_link('« %link') ?></div> |
|
8 |
<div class="alignright"><?php next_post_link('%link »') ?></div> |
|
9 |
</div> */?> |
|
10 |
<div style="padding-bottom: 15px;"></div> |
|
11 |
<div class="post" id="post-<?php the_ID(); ?>"> |
|
12 |
<h2><a href="<?php echo get_permalink() ?>" rel="bookmark" ><?php the_title(); ?></a></h2> |
|
13 |
<p class="small"> |
|
14 |
<?php the_time('j, F Y') ?> | |
|
15 |
<?php /* the_author(); */ ?> |
|
170
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
16 |
<?php echo(__("Published",'IriTheme')." : "); ?> |
136 | 17 |
<?php |
18 |
the_category(', '); |
|
19 |
if($post->comment_count > 0) { |
|
20 |
echo ' | '; |
|
21 |
if($post->comment_count > 1) { |
|
22 |
echo '<a href="#comments">' . $post->comment_count . ' Comments</a>'; |
|
23 |
} else { |
|
24 |
echo '<a href="#comments">1 Comment</a>'; |
|
25 |
} |
|
26 |
} |
|
27 |
edit_post_link('Edit', ' | ', ''); |
|
28 |
?> |
|
170
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
29 |
| |
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
30 |
<?php if (class_exists('xili_language') && is_user_logged_in()) { xiliml_the_other_posts($post->ID,__("This post in",'IriTheme')," | "); } ?> |
136 | 31 |
</p> |
32 |
|
|
33 |
<div class="entry"> |
|
34 |
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> |
|
170
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
35 |
<?php wp_link_pages(array('before' => '<p><strong>'.__("Pages",'IriTheme').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> |
136 | 36 |
|
37 |
</div> |
|
38 |
<div class="tag"> |
|
170
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
39 |
<?php the_tags('<strong>'.__("Tags :",'IriTheme').'</strong>',' | ','<br/> '); ?> |
136 | 40 |
</div> |
41 |
</div> |
|
42 |
<?php comments_template(); ?> |
|
43 |
<?php endwhile; else: ?> |
|
170
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
44 |
<p><?php _e("Sorry, no such page.",'IriTheme'); ?></p> |
136 | 45 |
<?php endif; ?> |
46 |
<!-- ADD TO ANY --> |
|
47 |
<?php |
|
48 |
if (get_the_ID()!=142) { |
|
49 |
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>'; |
|
50 |
} |
|
51 |
?> |
|
52 |
<!-- --> |
|
53 |
</div> |
|
54 |
</div> |
|
55 |
<div class="column span-5 last"> |
|
56 |
<?php include (TEMPLATEPATH . '/sidebar_single.php'); ?> |
|
57 |
</div> |
|
58 |
<hr></hr> |
|
59 |
<?php get_sidebar(); ?> |
|
60 |
<?php get_footer(); ?> |