author | Anthony Ly <anthonyly.com@gmail.com> |
Tue, 12 Mar 2013 18:21:39 +0100 | |
changeset 206 | 919b4ddb13fa |
parent 204 | 09a1c134465b |
permissions | -rw-r--r-- |
136 | 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('« %link') ?></div> |
|
7 |
<div class="alignright"><?php next_post_link('%link »') ?></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') ?> | |
|
14 |
<?php /* the_author(); */ ?> |
|
170
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
15 |
<?php echo(__("Published",'IriTheme')." : "); ?> |
136 | 16 |
<?php |
17 |
the_category(', '); |
|
18 |
if($post->comment_count > 0) { |
|
19 |
echo ' | '; |
|
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', ' | ', ''); |
|
27 |
?> |
|
170
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
28 |
| |
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
29 |
<?php if (class_exists('xili_language') && is_user_logged_in()) { xiliml_the_other_posts($post->ID,__("This post in",'IriTheme')," | "); } ?> |
136 | 30 |
</p> |
31 |
|
|
32 |
<div class="entry"> |
|
33 |
<?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
|
34 |
<?php wp_link_pages(array('before' => '<p><strong>'.__("Pages",'IriTheme').':</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> |
136 | 35 |
|
36 |
</div> |
|
37 |
<div class="tag"> |
|
170
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
38 |
<?php the_tags('<strong>'.__("Tags :",'IriTheme').'</strong>',' | ','<br/> '); ?> |
136 | 39 |
</div> |
40 |
</div> |
|
41 |
<?php comments_template(); ?> |
|
42 |
<?php endwhile; else: ?> |
|
170
8e3a5a6fc63e
English version just for user loged view
hurons@caf4f556-3d62-0410-8435-a86758001935
parents:
136
diff
changeset
|
43 |
<p><?php _e("Sorry, no such page.",'IriTheme'); ?></p> |
136 | 44 |
<?php endif; ?> |
45 |
<!-- ADD TO ANY --> |
|
46 |
<?php |
|
47 |
if (get_the_ID()!=142) { |
|
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>'; |
|
49 |
} |
|
50 |
?> |
|
51 |
<!-- --> |
|
52 |
</div> |
|
53 |
</div> |
|
54 |
<div class="column span-5 last"> |
|
55 |
<?php include (TEMPLATEPATH . '/sidebar_single.php'); ?> |
|
56 |
</div> |
|
57 |
<hr></hr> |
|
58 |
<?php get_sidebar(); ?> |
|
59 |
<?php get_footer(); ?> |