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<?php
/**
* The template used for displaying page content
*
* @subpackage fGeek
* @author tishonator
* @since fGeek 1.0.0
*
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<h1 class="entry-title"><?php the_title(); ?></h1>
<div class="page-content">
<?php
// Display Thumbnails if thumbnail is set for the post
if ( has_post_thumbnail() ) :
the_post_thumbnail();
endif;
the_content( __( 'Read More...', 'fgeek') );
?>
</div><!-- .page-content -->
<div class="page-after-content">
<?php if ( ! post_password_required() ) : ?>
<?php if ('open' == $post->comment_status) : ?>
<span class="comments-icon">
<?php comments_popup_link(__( 'No Comments', 'fgeek' ), __( '1 Comment', 'fgeek' ), __( '% Comments', 'fgeek' ), '', __( 'Comments are closed.', 'fgeek' )); ?>
</span>
<?php endif; ?>
<?php edit_post_link( __( 'Edit', 'fgeek' ), '<span class="edit-icon">', '</span>' ); ?>
<?php endif; ?>
</div><!-- .page-after-content -->
</article><!-- #post-## -->