解决加密内容在列表不显示标题
修改默认主题下functions.php文件.
<?php $archive->title() ?>修改为
<?php $db = Typecho_Db::get(); $row = $db->fetchRow($db->select('title')->from('table.contents')->where('cid = ?', $archive->cid)); echo $row['title']; ?> 修改默认主题下functions.php文件.
<?php $archive->title() ?>修改为
<?php $db = Typecho_Db::get(); $row = $db->fetchRow($db->select('title')->from('table.contents')->where('cid = ?', $archive->cid)); echo $row['title']; ?>