usr/themes/Joe/public/footer.php
IT不难技术家园
IT不难【白茶清欢无别事,我在等风也等你】
options->JBirthDay) : ?>
风风雨雨 00 天 00 时 00 分,你是第位相遇的小伙伴
Ctrl+D收藏本站
绿水本无忧,因风皱面
青山原不老,为雪白头
usr/themes/Joe/public/include.php
usr/themes/Joe/core/core.php
//门前大路上,走过一群小伙伴,快来数一数:2,4,6,7,8……
function theAllViews()
{
$db = Typecho_Db::get();
$row = $db->fetchAll('SELECT SUM(VIEWS) FROM `typecho_contents`');
echo number_format($row[0]['SUM(VIEWS)']);
}
主题"全局设置"内开启
本文参考: 罗小黑博客