Esempio n. 1
0
?>

	<div class="bottom-of-entry">&nbsp;</div>

	<?php 
if (p2_is_ajax_request()) {
    ?>
		<ul id="comments-<?php 
    the_ID();
    ?>
" class="commentlist inlinecomments"></ul>
	<?php 
} else {
    comments_template();
    $pc = 0;
    if (p2_show_comment_form() && $pc == 0 && !post_password_required()) {
        $pc++;
        ?>
			<div class="respond-wrap" <?php 
        echo !is_singular() ? 'style="display: none; "' : '';
        ?>
>
				<?php 
        comment_form($p2_comment_args);
        ?>
			</div><?php 
    }
}
?>
</li>
Esempio n. 2
0
		</div>
	<?php 
}
?>

	<div class="bottom_of_entry">&nbsp;</div>

	<?php 
if (!p2_is_ajax_request()) {
    ?>
		<?php 
    comments_template();
    ?>

		<?php 
    if (p2_show_comment_form()) {
        ?>

			<div style="display:none">

				<div id="respond" style="display:none">
					<?php 
        locate_template(array('comment-form.php'), true);
        ?>
				</div>

			</div>   

		<?php 
    }
    ?>