如何给zblog模板的自定义文章标题颜色?基实挺简单的,只要增加以代码就可以了。
首在“include.php”中增加:
Add_Filter_Plugin('Filter_Plugin_Edit_Response4','boke_36_title_color');再次增加
function boke_36_title_color(){
global $zbp,$article;
echo'<div><p align="left"><label class="editinputname">颜色设置</label>
<input style=" width:100px;" id="edtTitle" name="meta_tcolor" type="color" value="'.$article->Metas->tcolor.'" /></p>
</div>';
}boke_36是的主题目录,这样就可以了如图:

调用方法:
{if $articlet->Metas->tcolor} style="color:{$articlet->Metas->tcolor}"{/if}去试试看吧!
老鱼主题