Typecho的T就是文章标题,D是截取文章开头的文字,K是文章标签,DK的设置明显不是那么太合理,描述过于死板,标签当关键词很不合理。...>
2,为文章强制设置两个字段
在模板functions.php文件中添加如下代码
function themeFields($layout) {
$description = new Typecho_Widget_Helper_Form_Element_Text...('description', NULL, NULL, _t('描述'), _t('简单一句话描述'));$description->input->setAttribute('class', 'text...Typecho_Widget_Helper_Form_Element_Text('keyword', NULL, NULL, _t('产品关键词'), _t('多个关键词用英文下逗号隔开'));$keyword->input...linkCard('.post-content','0');