public function single_page_loop($args = array()) { $args = extract($this->merge_loop_arguments($args)); ?> <?php if (have_posts()) { while (have_posts()) { the_post(); ?> <article id="post-<?php the_ID(); ?> " <?php post_class('singular-page'); ?> > <header> <?php $wpgo_title_tag = is_front_page() ? 'h2' : 'h1'; ?> <?php WPGo_Utility::hide_title_header_tag(get_the_ID(), $wpgo_title_tag, "page-title entry-title"); ?> </header> <?php WPGo_Hooks::wpgo_before_post_content(); ?> <div class="post-content"> <?php the_content(); wp_link_pages(array('before' => '<div class="page-link">', 'after' => '</div>')); ?> </div> <!-- .post-content --> </article> <!-- .post --> <?php edit_post_link(__('Edit', 'wpgothemes'), '<span class="edit-link">', '</span>'); ?> <?php comments_template('', true); ?> <?php } } ?> <?php }