class-walker-comment.php wrap comment to block
-
Can someone tell me how to wrap the output of comments in a tag. It’s in standard comments block wp-includes/class-walker-comment.php
<div class="comment-meta commentmetadata"> <?php printf( '<a href="%s">%s</a>', esc_url( get_comment_link( $comment, $args ) ), sprintf( /* translators: 1: Comment date, 2: Comment time. */ __( '%1$s at %2$s' ), get_comment_date( '', $comment ), get_comment_time() ) ); edit_comment_link( __( '(Edit)' ), ' ', '' ); ?> </div>
How make wrapper <div> for comment content? It’s posible to add it wrapper block for core WordPress <div class=”comment-content”></div>?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘class-walker-comment.php wrap comment to block’ is closed to new replies.