-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
44 lines (35 loc) · 1.38 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* @package WordPress
* @subpackage Greyomatic
*/
?>
<?php get_header(); ?>
<?php
if (have_posts()) : while (have_posts()) : the_post();
$comments_nr = fb_get_comment_type_count('comment');
?>
<div <?php post_class('article home'); ?> id="post-<?php the_ID(); ?>">
<div class="date"><div class="postdate"><span class="day"><?php the_time('d'); ?></span><span class="month"><?php the_time('M'); ?></span></div></div>
<div class="comments-box"><?php echo $comments_nr; ?></div>
<h2 class="permalink"><a title="<?php the_title(); ?>" href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2>
<?php the_content(__('Continue reading »','greyomatic')); ?>
<div class="clear"></div>
<!--<div class="post-info">Posted on <u><?php the_time('d/m/Y'); ?></u> by <u><?php the_author(); ?></u> in <?php the_category(', '); ?></div>-->
</div>
<?php endwhile; else: ?>
<div class="article">
<h2><?php _e('Not Found','greyomatic'); ?></h2>
<p><?php _e('Sorry, but you are looking for something that isn\'t here.','greyomatic'); ?></p>
</div>
<?php endif; ?>
<?php comments_template(); ?>
</div>
<?php get_sidebar(); ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
</div>
<div class="clear"></div>
</div><!-- /#round -->
<?php get_footer(); ?>