简体   繁体   中英

Add Custom Field Key in functions.php

有没有办法在“添加新帖子”页面的自定义字段下拉列表中添加自定义字段键而不添加字段?

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:

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

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

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM