0) ) {
// --------------------------------------------------------
// Output title with the comments ammount
// --------------------------------------------------------
if( $counts_amout == 1 ) {
echo "
";
} //if( $counts_amout == 1 ) {
if( $counts_amout > 1 ) {
echo "";
} // if( $counts_amout > 1 ) {
// --------------------------------------------------------
// Creating the rest of the comments output
// --------------------------------------------------------
echo "";
} // if ( comments_open() || ($counts_amout > 0) ) {
?>
"; wp_list_comments( array( 'callback' => 'mytheme_comment', 'style' => 'ol', 'short_ping' => true, 'avatar_size' => 55, 'reply_text' => __('Comment', 'yydevelopment-basic'), ) ); echo "
"; // -------------------------------------------------------- // checking if the comments are opened // -------------------------------------------------------- if ( comments_open() && !post_password_required() ) { // -------------------------------------------------------- // Checking if the comments has pages // -------------------------------------------------------- if( get_option('comments_per_page') < get_comments_number() ) { echo "' . __('Fill in all fields to leave a comment (your email will not be shown on the website).', 'yydevelopment-basic') . '
', ); comment_form($comments_args); } // if (comments_open() && !post_password_required() ) { // -------------------------------------------------------- // Checking if there is more than one comment and the comments are closed // -------------------------------------------------------- if( !comments_open() && get_comments_number() > 1 ) { echo "" . __('Comments are closed', 'yydevelopment-basic') . "
"; } // if( ! comments_open() && get_comments_number() ) { echo "