</h2>
    </div>
<?php 
    return;
}
if (have_comments()) {
    ?>
    <div class="cleantheme-comments">
        <h2 class="cleantheme-postheader comments"><?php 
    printf(_n('One Response to %2$s', '%1$s Responses to %2$s', get_comments_number(), THEME_NS), number_format_i18n(get_comments_number()), get_the_title());
    ?>
</h2>
<?php 
    theme_ob_start();
    paginate_comments_links();
    $pagination = theme_stylize_pagination(theme_ob_get_clean());
    echo $pagination;
    ?>
        <ul id="comments-list">
            <?php 
    wp_list_comments('type=all&callback=theme_comment');
    ?>
        </ul>
<?php 
    echo $pagination;
    ?>
    </div>
<?php 
}
if (!comments_open()) {
    return;
function theme_page_navigation()
{
    global $wp_query;
    $total_pages = $wp_query->max_num_pages;
    if ($total_pages > 1) {
        echo theme_stylize_pagination(paginate_links(array('base' => str_replace(PHP_INT_MAX, '%#%', get_pagenum_link(PHP_INT_MAX)), 'format' => '', 'current' => max(1, get_query_var('paged')), 'total' => $total_pages)));
    }
}