Make WordPress Core

Opened 16 years ago

Closed 15 years ago

Last modified 14 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:

Description

This functionality is currently available in the More Fields plugin:

http://wordpress.org/extend/plugins/more-fields/

See http://labs.dagensskiva.com/plugins/more-fields/ for examples.

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

Cheers,
Henrik.

Change History (3)

#1 @ryan
16 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
16 years ago

  • Milestone set to 2.6

#3 @Denis-de-Bernardy
15 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.