WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#12489 closed enhancement (worksforme)

Hook to add custom fields on blogroll

Reported by: marcomail Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords: blogroll, hook, custom field
Focuses: Cc:

Description

I think could be very useful have an hook to add custom fields in the "add new link" page, so the blogroll could be enhanced with new plugins.

Change History (5)

comment:1 greenshady4 years ago

You mean something other than using add_meta_box()?

add_meta_box( 'my-link-meta', 'My Link Meta', 'my_link_meta', 'link', 'normal', 'high' );

function my_link_meta() {
	echo '<p>Hello world!</p>';
}

comment:2 marcomail4 years ago

Yes, something similar but for the page where you add new links in the blogroll, add_meta_box is for the write/edit post page

comment:3 follow-up: greenshady4 years ago

That code above does exactly what you're asking with the current WordPress.

comment:4 in reply to: ↑ 3 marcomail4 years ago

You have right, i didn't check correctly this pass. Many thanks

comment:5 nacin4 years ago

  • Milestone 3.0 deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.