-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent-page.php
More file actions
32 lines (31 loc) · 923 Bytes
/
Copy pathcontent-page.php
File metadata and controls
32 lines (31 loc) · 923 Bytes
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
<?php
/**
* The template used for displaying page content in page.php
*
* @package WordPress
* @subpackage Fruitful theme
* @since Fruitful theme 1.0
*/
?>
<?php
/*
** Last popular posts
*/
if (is_front_page() && !is_home()) {
get_template_part( 'content', 'popular' );
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail"><?php the_post_thumbnail(); ?></div>
<?php endif; ?>
<?php if (!is_front_page()) {?>
<header class="entry-header">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header><!-- .entry-header -->
<?php } ?>
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'notes' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
</article><!-- #post-<?php the_ID(); ?> -->