Opened 14 years ago
Closed 11 years ago
#24064 closed enhancement (duplicate)
Allow comment_form() to display the comment field first
| Reported by: | johnbillion | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | 3.6 |
| Severity: | normal | Keywords: | has-patch ui-feedback needs-docs |
| Cc: | Focuses: | template |
Description
Many sites and many third-party comment system providers display the comment field before the name/email/URL fields in comment forms these days.
It would be nice to have any easy option to do this with the comment_form() function. Currently if you want to display the comment field first you'll have to avoid using comment_form() or you'll have to do some crazy CSS or jQuery trickery to move things around. Neither are optimal.
Attachments (2)
Change History (8)
#2
@
14 years ago
- Cc added
You can do that with PHP already, no need for JavaScript or CSS. But yes, an easier way would be useful.
#3
@
13 years ago
- Keywords ui-feedback added
Tested the 24064.patch and 24064.twentythirteen.patch patches and they seem to be working well. However, if possible, you might want to add a little more margin to the top of the "Post Comment" button in the Twenty Thirteen theme. Screenshot: http://www.screencast.com/t/1jxqdIIFb
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for the
comment_field()argument, and example patch showing usage in Twenty Thirteen.