Example #1
0
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) {
    die;
}
if (CFCT_DEBUG) {
    cfct_banner(__FILE__);
}
global $comments, $comment;
?>
	<ol class="pings-list hfeed">
<?php 
foreach ($comments as $comment) {
    if (get_comment_type() != 'comment') {
        ?>
		<li class="hentry <?php 
        cfct_comment_list_class();
        ?>
">
<?php 
        cfct_comment();
        ?>
		</li><!--.hentry-->
<?php 
    }
}
?>
	</ol><!--/#pings-list-->
Example #2
0
//
// Released under the GPL license
// http://www.opensource.org/licenses/gpl-license.php
//
// **********************************************************************
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// **********************************************************************
if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) {
    die;
}
if (CFCT_DEBUG) {
    cfct_banner(__FILE__);
}
?>

<li class="li-comment" id="li-comment-<?php 
comment_ID();
?>
">
	<div class="div-comment" id="div-comment-<?php 
comment_ID();
?>
">
<?php 
cfct_comment($data);
?>
	</div>
<?php 
// Dropped </li> is intentional: WordPress figures out where to place the </li> so it can nest comment lists.