Example #1
0
        ?>

						<?php 
        if (get_query_var('cpage') <= $seamless_comment_pages) {
            ?>
					
					<div id="comments-list-wrapper" class="comments">

						<h3><?php 
            printf($seamless_comment_count > 1 ? __(seamless_multiplecomments_text(), 'seamless') : __(seamless_singlecomment_text(), 'seamless'), $seamless_comment_count);
            ?>
</h3>
	
						<ol id="comments-list" >
							<?php 
            wp_list_comments(seamless_list_comments_arg());
            ?>
						</ol>
										
					</div><!-- #comments-list-wrapper .comments -->
					
						<?php 
        }
        ?>
						
					<?php 
        // action hook for inserting content below #comments-list
        seamless_belowcommentslist();
        ?>
					
					<?php 
 function test_seamless_comments_callback()
 {
     $this->expectOutputRegex('/<article/', wp_list_comments(seamless_list_comments_arg()));
 }