WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 5 years ago

Last modified 4 years ago

#5697 closed enhancement (invalid)

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

Reported by: 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)

comment:1 ryan6 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.

comment:2 lloydbudd6 years ago

  • Milestone set to 2.6

comment:3 Denis-de-Bernardy5 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.