wordpress/php-fpm/wordpress_files/themes/origami/page.php
2020-05-22 01:40:23 +00:00

27 lines
664 B
PHP

<?php get_header(); the_post(); ?>
<div <?php post_class('post') ?>>
<?php if( has_post_thumbnail() && siteorigin_setting( 'display_featured_image' ) ) : ?>
<div class="featured-image">
<?php the_post_thumbnail( null, array( 'class' => 'main-image' ) ) ?>
</div>
<?php endif; ?>
<h1 class="entry-title noinfo"><?php the_title(); ?></h1>
<div class="content">
<?php the_content() ?>
<?php
wp_link_pages( array(
'before' => '<p class="page-links content">' . __( 'Pages:', 'origami' ),
'after' => '</p>',
) )
?>
<div class="clear"></div>
</div>
<?php if(is_singular()) comments_template(); ?>
</div>
<?php get_footer() ?>