-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
58 lines (33 loc) · 1.56 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?php get_header(); ?>
<div id="container" class="<?php echo get_option('acer_layout') ?>">
<div class="clear"></div>
<div id="content">
<?php
if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<section id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php get_category_by_slug( 'slug' ) ?>>
<h2 class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<div class="clear"></div>
<p class="authorinfo">By <?php the_author_posts_link(); ?> on <?php the_time('F jS, Y'); ?> </p>
<?php if ( get_option( 'acer_thumb_pos_index' ) == 'above' ) { acer_home_thumb(); } ?>
<section class="entry">
<?php if ( get_option('acer_ex_index') == true ) { ?>
<?php the_excerpt(); ?>
<?php } else { ?>
<?php the_content(); ?>
<?php } ?>
</section>
<?php if ( get_option( 'acer_thumb_pos_index' ) == 'below' ) { acer_home_thumb(); } ?>
<div class="clear"></div>
</section>
<?php endwhile; endif; ?>
<?php if (show_posts_nav()) : ?>
<div class='navigation'>
<span style="float:left;" class='older'><?php next_posts_link('« Older Entries'); ?></span>
<span style="float:right;" class='newer'><?php previous_posts_link('Newer Entries »'); ?></span>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
</div>
<div class="clear"></div>
<?php get_footer(); ?>