';
}
else{
echo '
';
return;
}
if( apply_filters( 'gourmand_custom_comments', false ) ){
/**
* To customize your comments you can use filter
* gourmand_custom_comments
*/
return;
}
/* IF EXISTS WORDPRESS COMMENTS */
else if ( have_comments() ) {
$nr = absint( get_comments_number() );
echo '';
$args = array(
'echo' => false,
'prev_text' => sprintf( __( '%1$s Prev' , 'gourmand' ) , '' ),
'next_text' => sprintf( __( 'Next %1$s' , 'gourmand' ) , '' )
);
$pgn = paginate_comments_links( $args );
/* WORDPRESS PAGINATION FOR COMMENTS */
if( !empty( $pgn ) ){
echo '';
}
}
if ( !have_comments() ) {
/**
* If not found comments load custom template
* ../templates/comments/no-comments.php
*/
echo '';
}
?>
'; esc_html_e( 'This post is password protected. Enter the password to view any comments.' , 'gourmand' ); echo '
'; echo '