';
$output .= '
';
if ( have_comments() ) {
if ( ! comments_open() ) {
$output .= '';
}
//Paginated comments
if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) {
$output .= wm_comments_navigation( 'comment-nav-above' );
}
//Actual comments list
$output .= '';
//Paginated comments
if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) {
$output .= wm_comments_navigation( 'comment-nav-below' );
}
} // /have_comments()
//Comments form only if comments open
if ( comments_open() ) {
ob_start();
comment_form( apply_filters( 'wmhook_comment_form_args', array(
'comment_notes_after' => '',
) ) );
$output .= ob_get_clean();
}
$output .= '';
wmhook_comments_before();
if ( ! function_exists( 'wma_amplifier' ) ) {
echo '' . $output . '
';
} else {
echo do_shortcode( '[wm_row]' . $output . '[/wm_row]' );
}
wmhook_comments_after();
}
?>