文章类型的功能支持类型一共有下面这几种: title: 标题 editor:内容 author:作者 thumbnail:特色图片,当前主题也必须要支持文章缩略图功能 excerpt:摘要 trackbacks:没鸟用了,懒得解释了 custom-fields
menu_position'=>15 ,//菜单位置("文章"之后) 'supports'=>array('title','editor','comments','thumbnail','custom-fields
null, 'taxonomies'=> array('category','post_tag'), 'supports' => array('editor','author','title', 'custom-fields
=> $labels, 'supports' => array( 'title', 'editor', 'thumbnail', 'comments', 'custom-fields , // 显示评论元数据盒子,如果设置了该值, 这个文章类型将支持评论 'trackbacks', // 在编辑界面显示允许发送链接通知的元数据盒子 'custom-fields
name' => '合作伙伴'), 'public' => true, 'supports' => array('title', 'thumbnail', 'custom-fields
用于业务维度筛选) custom-fields: -key:businessType#字段名:业务类型 value:${spring.application.name}-order
, // 显示评论元数据盒子,如果设置了该值, 这个文章类型将支持评论 'trackbacks', // 在编辑界面显示允许发送链接通知的元数据盒子 'custom-fields