Norbert
Norbert

Reputation: 2771

Add Custom Field Key in functions.php

Is there any way to add custom field keys to the dropdown of the custom fields on the "add new post" page without adding the fields?

Upvotes: 3

Views: 16746

Answers (2)

farinspace
farinspace

Reputation: 8801

Adding Meta Boxes is definitely the way to go. The following should help you:

http://farinspace.com/wordpress-meta-box-next-level/

http://farinspace.com/custom-fields-area-uncluttered/

Upvotes: 1

Xavi Esteve
Xavi Esteve

Reputation: 1162

Check add_meta_box (It allows plugin developers to add sections to the Write Post, Write Page, and Write Link editing pages. ):

http://codex.wordpress.org/Function_Reference/add_meta_box

Or these plugins:

Source: http://sltaylor.co.uk/blog/control-your-own-wordpress-custom-fields/

Upvotes: 6

Related Questions