-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
41 lines (37 loc) · 1.27 KB
/
page.php
File metadata and controls
41 lines (37 loc) · 1.27 KB
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
<?php get_header(); ?>
<div class="content-wrap">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="row">
<div class="large-12 columns">
<?php
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
the_post_thumbnail();
}
?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink(); ?>"
rel="bookmark"
title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<?php echo get_post_meta($post->ID, 'PostThumb', true); ?>
<?php the_content('Read Full Article'); ?>
<p><?php the_tags('Tags: ', ', ', '<br />'); ?> | Posted in <?php the_category(', '); ?>
<?php comments_popup_link('No Comments;', '1 Comment', '% Comments'); ?></p>
<?php comments_template(); ?>
</div>
</div>
</div>
<?php endwhile; ?>
<div class="row">
<div class="large-6 small-6 columns older more-entries">
<?php next_posts_link('Older Entries'); ?>
</div>
<div class="large-6 small-6 columns newer more-entries">
<?php previous_posts_link('Newer Entries'); ?>
</div>
</div>
<?php else : ?>
<h2>Nothing Found</h2>
<?php endif; ?>
</div>
<?php get_footer(); ?>