Is there a way to edit the markup of comment_form()?


I have a single.php page where I call the the_content() function, followed by the comment_form() function to display the comment box.

While this function does display the logged in user, link to log out, textarea for comment, and post button, and I can edit the CSS, I’m wondering if there a way to edit the markup that is generated.

I’ve found a link that details the markup of comment.php from TwentyTwenty theme, but does not include the markup for said comment box.

The two main things I’d like to do is; add the users avatar next to the comment box, and add css classes to the button and textarea for styling.

Chillin' 6 months 0 Answers 70 views 0

Leave an answer