Ejemplo n.º 1
0
					<?php 
        /* K2 Hook */
        do_action('template_entry_foot');
        ?>
				</div><!-- .entry-foot -->
			</div><!-- #post-ID -->

			<div class="comments">
				<?php 
        comments_template();
        ?>
			</div><!-- .comments -->

			<?php 
        k2_navigation('nav-below');
        ?>
 

		<?php 
    }
} else {
    define('K2_NOT_FOUND', true);
    ?>

			<?php 
    locate_template(array('blocks/k2-404.php'), true);
    ?>

		<?php 
}
Ejemplo n.º 2
0
		<ul id="commentlist">
		<?php 
    if (function_exists('wp_list_comments')) {
        wp_list_comments('callback=k2_comment_start_el');
    } else {
        foreach ($comments as $comment) {
            k2_comment_item($comment);
        }
    }
    ?>
		</ul>

		<?php 
    if (function_exists('wp_list_comments')) {
        /* Navigation */
        k2_navigation('nav-comments');
    }
    ?>

	<?php 
} elseif (comments_open()) {
    ?>
		<ul id="commentlist">
			<li id="leavecomment">
				<?php 
    _e('No Comments', 'k2_domain');
    ?>
			</li>
		</ul>
	<?php 
}