The default way to do things seem to have the comment form below the comments. I’d like to have the form at the top. How do I achieve this?
Leave a Reply
You must be logged in to post a comment.
The default way to do things seem to have the comment form below the comments. I’d like to have the form at the top. How do I achieve this?
You must be logged in to post a comment.
The comment list is output via
wp_list_comments()
, and the comment-reply form is output viacomment_form()
; so, just ensure that you callcomment_form()
before you callwp_list_comments()
.I just needed a temporary solution for one of my pages, and I didn’t want to edit my theme files, so I just put this in my page using the “text” tab of the page editor. Maybe it’ll help someone else in a similar situation:
I do this with CSS flex-box: