Hello,
I understood your requirement. In order to achive this please follow the below mentioned steps.
Step 1: Add this code to your functions.php file at bottom.
function rtp_remove_existing_hook(){
remove_action( 'rtp_hook_end_post_title', 'rtp_default_comment_count' );
}
add_action( 'init', 'rtp_remove_existing_hook', 12 );
Step 2: Add this code to your functions.php below abovementioned code
function rtp_default_comment_count_custom() {
if( is_single() )
return; // do not show on single page.
global $rtp_post_comments;
// Comment Count
add_filter( 'get_comments_number', 'rtp_only_comment_count', 11, 2 );
if ( ( ( get_comments_number() || @comments_open() ) && !is_attachment() && !rtp_is_bbPress() ) || ( is_attachment() && $rtp_post_comments['attachment_comments'] ) ) { // If post meta is set to top then only display the comment count. ?>
{<?php comments_popup_link( _x( '0 Comments', 'comments number', 'rtPanel' ), _x( '1 Comment', 'comments number', 'rtPanel' ), _x( '% Comments', 'comments number', 'rtPanel' ), 'rtp-post-comment rtp-common-link' ); ?>}
<?php
}
remove_filter( 'get_comments_number', 'rtp_only_comment_count', 11, 2 );
}
add_action( 'rtp_hook_end_post_content', 'rtp_default_comment_count_custom' );
Step 3: Add following lines to style.css file at bottom.
.rtp-post-comment-count { clear: both; }
I hope above solution will solve your problem , let me know if anything else desired.
NOTE: Please Copy and paste the code carefully
Regards.
Ankit