有没有办法在“添加新帖子”页面的自定义字段下拉列表中添加自定义字段键而不添加字段?
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/
Adding Meta Boxes is definitely the way to go. The following should help you:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.