sprintf( __( '<div class="comment-time">%2$s</div> <div class="comment-likes">%1$s</div><div class="comment-reply"><a class="comment-reply-link" href="#">%3$s</div></div></div>', 'my_press' ), get_comment_date(), get_comment_time(),get_comment_reply_link(array_merge( $args, array( 'reply_text' => __( 'Ответить', 'my_press' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ))
)
); ?>
if ($("input[name='shipping_city']").val().length == 0) {
// $("div").show();
alert('Value пуст');
}
<input type="text" class="input-text " name="shipping_city" id="shipping_city" placeholder="" value="" autocomplete="address-level2">
if ($("[name='shipping_city']").value().length === 0) {
// $("div").show();
alert('Value пуст');
}
Сделал вот так.
$('.xdsoft_prev').after('<h5>Дата</h5>');
https://jquery-docs.ru/after/#after-content-content