Tag Info

Hot answers tagged

2

parent : Comments can be replies to other comments. Every comment has an ID number. When the comment is a reply, then it will have a "parent" which is the ID of the comment it is replying to. Putting a comment ID in here will get all the replies to that comment. post_parent : Posts can be children of other posts as well. This is how things like hierarchical ...


2

Open comments.php file inside your theme's folder <?php if ( comments_open() ) : ?> <?php $fields = array( 'author' => '<p class="comment-form-author">' . '<label for="author">' . __( 'Name', 'responsive' ) . '</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '<input id="author" ...


1

Easiest way to handle hiding the display is to use css. Your "reply to" form is probably displayed inside of a comment div or has some class identifying it as a comment reply. You still might need to handle the check on the server side to make the rating field to be not required when a comment has a parent comment.



Only top voted, non community-wiki answers of a minimum length are eligible