Example #1
0
    return;
}
?>

<div id="comments" class="comments-area">

    <?php 
// You can start editing here -- including this comment!
?>

    <?php 
if (have_comments()) {
    ?>
    <h3 class="smartlib-comments-title">
        <span><?php 
    echo harmonux_get_awesome_ico('comments');
    ?>
        <?php 
    printf(_n('1 comment', '%1$s comments', get_comments_number(), 'harmonux'), number_format_i18n(get_comments_number()));
    ?>
</span>
    </h3>

    <ol class="commentlist">
        <?php 
    wp_list_comments(array('callback' => 'harmonux_comment_component', 'style' => 'ol'));
    ?>
    </ol><!-- .commentlist -->

    <?php 
    if (get_comment_pages_count() > 1 && get_option('page_comments')) {
/**
Prints leave replay button
*/
function harmonux_replay_link()
{
    ?>
<div class="smartlib-comments-link">
	<?php 
    if (comments_open() && is_single()) {
        ?>
	<?php 
        comments_popup_link(__('Comment', 'harmonux') . '<i class="' . harmonux_get_awesome_ico('comments') . '"></i></span>', __('1 Reply', 'harmonux'), __('% Replies', 'harmonux'));
        ?>
	<?php 
    }
    ?>
</div>
		<?php 
}