[wp-trac] [WordPress Trac] #18860: Chromeless metaboxes
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 5 14:28:14 UTC 2011
#18860: Chromeless metaboxes
-------------------------+-----------------------------
Reporter: scribu | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: dev-feedback
-------------------------+-----------------------------
On the post editing screen, the title and editor portions are just
conditionally echoed based on post_type_supports().
Because of this, you can't add anything between them or above them,
without using JavaScript.
The proposal:
- wrap them in callbacks and inject them through add_meta_box()
- add a $show_handle parameter to add_meta_box()
{{{$show_handle == false}}} would mean that the handle around the box
would be invisible. This would mean that you wouldn't be able to drag the
title and editor boxes around, which is ok, but you would be able to re-
order them in PHP.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18860>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list