Answer the question
In order to leave comments, you need to log in
How to change wordpress comment form template?
The comment form is displayed as follows:
Standard WordPress template.
Can you tell me how to edit the comment form itself? Those. you could add divs, swap things around, etc. I used to do it through comment-template.php, but somehow I don’t want to change this file every time after updating.
Can this be done somehow through function.php? comment_form();
Answer the question
In order to leave comments, you need to log in
Hello!
If you create a child theme for your current theme, you can easily update the theme and edit all the templates without having to replace anything.
Information on creating a child theme:
wpguru.ru/sozdanie-bloga/dochernyaya-tema-wordpres...
As for the main question, you need to:
- create a comments.php template
- study this - https://codex.wordpress. org/Function_Reference/wp_...
- and for styling you can create a walker and style the comments however you like
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question