-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
44 lines (34 loc) · 1.22 KB
/
page.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 get_header(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<!-- post -->
<div <?php post_class('post'); ?> id="post-<?php the_ID(); ?>">
<h1 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<div class="post-text">
<?php
the_content(__('Read the full post','comet').' »');
wp_link_pages('before=<div class="post-pages">'.__('Pages','comet').':&after=</div>&next_or_number=number&pagelink=<span>%</span>');
?>
</div>
<div class="post-meta">
<div class="row">
<?php if ( comments_open() ) { ?>
<div class="alignright"><?php comments_popup_link(__('No Comments','comet'),__('1 Comment','comet'),__('% Comments','comet')); ?></div>
<?php } ?>
<?php edit_post_link(__('Edit Post','comet'), ' ', ''); ?>
</div>
</div>
</div>
<!--/post -->
<!-- <div class="sep"></div> -->
<?php comments_template(); ?>
<?php endwhile; ?>
<?php else : ?>
<div class="post">
<h1 class="post-title"><?php _e('Page not found','comet'); ?></h1>
<div class="post-text">
<p><?php _e('The page you were looking for could not be found.','comet'); ?></p>
</div>
</div>
<?php endif; ?>
<?php get_footer(); ?>