'; if ( have_comments() ) : /* * * Show Comments title * */ echo '

'; if ( '1' === $hgwmag_comment_count ) : esc_html_e( '1 comment', 'hgwmag' ); else : echo esc_html( $hgwmag_comment_count ) . esc_html__( ' Comments', 'hgwmag' ); endif; echo '

'; //

/* * * Show Comments list * */ echo '
    '; wp_list_comments(); echo '
'; //
    /* * * Show Comments pagination * */ the_comments_pagination(); /* * * Show if Comments not Open * */ if ( ! comments_open() ) { echo '

    '. esc_html__( 'Comments are closed.', 'hgwmag' ) .'

    '; } endif; // if ( have_comments() ) : /* * * Show Comment Form * */ comment_form(); echo ''; //