while (have_posts()) { the_post(); ?> <div id="post-<?php the_ID(); ?> " <?php post_class(); ?> > <div class="page-content"> <?php the_content(); ?> <?php cpotheme_post_pagination(); ?> </div> </div> <?php comments_template('', true); ?> <?php } } ?> <?php do_action('cpotheme_after_content'); ?> </section> <?php
function cpotheme_postpage_content() { if (cpotheme_get_option('postpage_preview') === true || is_singular('post')) { the_content(); cpotheme_post_pagination(); } else { the_excerpt(); } }