Make WordPress Core

Opened 15 years ago

Closed 14 years ago

Last modified 13 years ago

#5697 closed enhancement (invalid)

Add ability to create custom boxes on the Write/Edit page for Custom Fields

Reported by: henrikmelin's profile henrikmelin Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords: custom-fields
Focuses: Cc:


This functionality is currently available in the More Fields plugin:

See for examples.

It is with Matt's encouragement I'm submitting this as a core patch :)


Change History (3)

#1 @ryan
15 years ago

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.

#2 @lloydbudd
15 years ago

  • Milestone set to 2.6

#3 @Denis-de-Bernardy
14 years ago

  • Milestone 2.9 deleted
  • Resolution set to invalid
  • Status changed from new to closed

meta boxes seem good enough

Note: See TracTickets for help on using tickets.