Ejemplo n.º 1
0
        echo $trackbackcounter;
        ?>
 Trackbacks For This Post</h2>

	<ol class="commentlist">

	<?php 
        foreach ($bm_trackbacks as $comment) {
            ?>

		<li class="<?php 
            echo $oddcomment;
            ?>
 <?php 
            if (function_exists("author_highlight")) {
                author_highlight();
            }
            ?>
" id="comment-<?php 
            comment_ID();
            ?>
">

			<cite><?php 
            comment_author_link();
            ?>
</cite> Says:
			<?php 
            if ($comment->comment_approved == '0') {
                ?>
			<em>Your comment is awaiting moderation.</em>
Ejemplo n.º 2
0
		else $oddcomment = 'alt';
	?>

	<?php endforeach; /* end for each comment */ ?>

	</ol>

	<?php if ( count( $bm_trackbacks ) > 0 ) { ?>

	<h2 class="commh2"><?php echo $trackbackcounter; ?> <?php _e('Trackbacks For This Post',woothemes); ?></h2>

	<ol class="commentlist">

	<?php foreach ($bm_trackbacks as $comment) : ?>

		<li class="<?php echo $oddcomment; ?> <?php if(function_exists("author_highlight")) author_highlight(); ?>" id="comment-<?php comment_ID() ?>">

			<cite><?php comment_author_link() ?></cite> <?php _e('Says',woothemes); ?>:
			<?php if ($comment->comment_approved == '0') : ?>
			<em><?php _e('Your comment is awaiting moderation',woothemes); ?>.</em>
			<?php endif; ?>
			<br />

			<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> <?php _e('at',woothemes); ?> <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>

			<?php comment_text() ?>

		</li>

	<?php /* Changes every other comment to a different class */
		if ('alt' == $oddcomment) $oddcomment = '';