#24861 closed enhancement (fixed)
edit_form_before_title
Reported by: | yurivictor | Owned by: | helen |
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | trivial | Version: | |
Component: | General | Keywords: | has-patch needs-codex |
Focuses: | Cc: |
Description
Add in a hook before the edit form title similar to edit_form_after_title, except before.
USE CASE
Custom post formats UI used the post format options above the title since certain formats do not use the title. For example, an aside is typically styled without a title.
There is no current hook to address this situation.
Attachments (4)
Change History (14)
#1
@
11 years ago
Updated hook to be more logical 24861.2.diff:
edit_form_before_title is directly before the title.
Added:
edit_form_before_form is before the form and spans the whole page, similar to previous post formats location.
#2
@
11 years ago
I can get behind edit_form_before_form
(can it just be edit_form_before
?); not sure about edit_form_before_title
. When would be a good time to push the title field down but not the publish metabox?
#3
@
11 years ago
Helen: Thanks. I agree about edit_form_before_title. Not a good use case.
Changed to edit_form_before
Fixed in 24861.3.diff
#4
@
11 years ago
Moved to after opening form tag so people can add fields to use with the post form.
Changed to more logical name: edit_form_top
New update: 24861.4.diff
#7
@
11 years ago
- Owner set to helen
- Resolution set to fixed
- Status changed from new to closed
In 24831:
#9
follow-up:
↓ 10
@
10 years ago
I'd like to reopen this based on the issues raised in this stackoverflow ticket:
http://wordpress.stackexchange.com/questions/124798/how-to-hook-something-before-edit-form-title
In my use case I'm not necessarily looking to add another metabox, and I want to stay within the left column parameters and within the <form> element container.
Patch for #24861