-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
53 lines (48 loc) · 1.69 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
<?php get_header(); ?>
<body>
<div id="wrapper">
<div id="container">
<!-- Start of main navigation container -->
<?php get_sidebar(); ?>
<!-- End of main navigation container -->
<!-- Begin of main content -->
<div id="main">
<?php if (have_posts()): ?>
<?php while(have_posts()): the_post(); ?>
<!-- Begin of single post -->
<div <?php post_class();?>>
<h2><a href="<?php the_permalink();?>"><?php the_title();?></a></h2>
<!-- Display posts thumbnail if available -->
<?php if ( has_post_thumbnail() ) : ?>
<div class="post-thumb">
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
</div>
<?php endif; ?>
<!-- End posts thumbnail -->
<?php the_content('... read on'); ?>
<div id="socialshareprivacy"></div>
<!-- Begin of post meta information -->
<ul class="meta">
<li><?php the_time('F jS, Y');?></li>
<li><?php the_tags('Tagged with: ',' • ','<br />'); ?></li>
<li><?php comments_popup_link('Leave a comment »', 'Comment(1) »', 'Comments(%) »'); ?></li>
</ul>
<hr noshade="0" size="1" />
<!-- end of post meta information -->
</div>
<!-- End of single post -->
<?php endwhile; ?>
<!-- Begin of Pagination links -->
<div class="pagination">
<ul>
<li class="older"><?php next_posts_link();?></li>
<li class="newer"><?php previous_posts_link();?></li>
</ul>
</div>
<!-- End of pagination links -->
<?php else: ?>
<div class="post">
<h2>No Posts found.</h2>
</div>
<?php endif; ?>
<?php get_footer(); ?>