开发者

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 with开发者_如何学运维out adding the fields?


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:

  • Custom Field Template: http://wordpress.org/extend/plugins/custom-field-template/
  • Flutter: http://flutter.freshout.us/ (this one may be what you are looking for)
  • Magic Fields: http://wordpress.org/extend/plugins/magic-fields/

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


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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜