[wp-trac] Re: [WordPress Trac] #5697: Add ability to create custom
boxes on the Write/Edit page for Custom Fields
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 21 01:44:04 GMT 2008
#5697: Add ability to create custom boxes on the Write/Edit page for Custom Fields
----------------------------+-----------------------------------------------
Reporter: henrikmelin | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: custom-fields |
----------------------------+-----------------------------------------------
Comment (by ryan):
Note that trunk has much different box styles and that the right hand
boxes are gone. Some porting will be necessary.
Some API for plugin authors to add boxes would compliment this nicely.
Something like:
{{{
function add_meta_box($id, $title, $fields, $context) {...};
add_meta_box('foo', __('Foo'), array(key => 'the_foo', 'title' => __('The
Foo'), 'type' => 'text'), 'post');
}}}
Settings for boxes added via plugin would not be persisted. The plugin
would define them each time.
--
Ticket URL: <http://trac.wordpress.org/ticket/5697#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list