<?php hybrid_before_entry(); // Before entry hook ?>

				<div class="entry-content">

					<?php the_content(); ?>
					
					<?php wp_link_pages( array( 'before' => '<p class="pages">' . __( 'Pages:', 'hybrid' ), 'after' => '</p>' ) ); ?>

				</div><!-- .entry-content -->

				<?php hybrid_after_entry(); // After entry hook ?>

			</div><!-- .hentry -->

			<?php hybrid_after_singular(); // After singular hook ?>

			<?php
			$allowComments = get_post_custom_values('Enable comments?'); 
			if ( $allowComments[0] == "yes" ) : 
			?>
			<?php comments_template( '', true ); ?>
			<?php endif; ?>

			<?php endwhile; ?>

		<?php else: ?>

			<p class="no-data">
				<?php _e( 'Sorry, no page matched your criteria.', 'hybrid' ); ?>
			</p><!-- .no-data -->
/**
 * @since 0.2.0
 * @deprecated 0.7.0
 */
function hybrid_after_page()
{
    _deprecated_function(__FUNCTION__, '0.7', "do_atomic( 'after_singular' )");
    hybrid_after_singular();
}
Example #3
0
/**
 * After page content but before the comments template.
 * @since 0.2
 * @deprecated 0.7 Use hybrid_after_singular().
 */
function hybrid_after_page() {
	_deprecated_function( __FUNCTION__, '0.7', 'hybrid_after_singular()' );
	hybrid_after_singular();
}