Repository navigation
Commit b78d04a
Comment form: add filter to allow removing the Comment Form title. (Automattic#6347)
The filter can then be used like so:
`add_filter( 'jetpack_comment_form_display_greeting', '__return_false' );`
This allows removing the title like when using the core comment form and providing empty strings for
`title_reply`, `title_reply_before`, and `title_reply_after` as arguments to the `comment_form` function.
Unfortunately that is not possible with Jetpack's Comment form since the form lives in an iFrame.
Suggested here:
https://wordpress.org/support/topic/leave-a-reply-text-and-so-much-vertical-spacing-how-to-remove/1 parent 436a3ea commit b78d04a
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
288 | 299 | | |
289 | 300 | | |
290 | 301 | | |
291 | 302 | | |
292 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
293 | 306 | | |
294 | 307 | | |
295 | 308 | | |
| |||
0 commit comments