Example #1
0
function classic_mobile_com_toggle()
{
    if (!function_exists('id_activate_hooks') || !function_exists('dsq_is_installed')) {
        $comment_string1 = __('No Comments Yet', "wptouch-pro");
        $comment_string2 = __('1 Comment', "wptouch-pro");
        $comment_string3 = __('% Comments', "wptouch-pro");
        echo '<a id="comments-' . get_the_ID() . '" class="post no-ajax rounded-corners-8px com-toggle">';
        if (classic_mobile_hide_responses()) {
            echo '<img id="com-arrow" class="com-arrow" src="' . wptouch_get_bloginfo('template_directory') . '/images/com_arrow.png" alt="arrow" />';
        } else {
            echo '<img id="com-arrow" class="com-arrow-down" src="' . wptouch_get_bloginfo('template_directory') . '/images/com_arrow.png" alt="arrow" />';
        }
        comments_number($comment_string1, $comment_string2, $comment_string3);
        echo '</a>';
    }
}
		<div class="navigation">
			<div class="alignleft"><?php 
        previous_comments_link();
        ?>
</div>
			<div class="alignright"><?php 
        next_comments_link();
        ?>
</div>
		</div>
	<?php 
    }
    ?>
	
	<ol id="wptouch-comments" class="commentlist rounded-corners-8px <?php 
    if (classic_mobile_hide_responses()) {
        echo 'hidden';
    }
    ?>
">
		<?php 
    wp_list_comments('type=all&callback=classic_custom_comments');
    ?>
		<?php 
    if (classic_is_ajax_enabled()) {
        ?>
			<?php 
        if (classic_comments_newer()) {
            ?>
				<li class="load-more-comments-link"><?php 
            previous_comments_link(__("Load More Comments&hellip;", "wptouch-pro"));