可以在文章中加入文章的點閱次數

使用模版編輯器修改

post.templatepostandcomment.template

可以找到類似這一行程式 (顯示文章日期)

{$locale->formatDate($postDate,"%H:%M")}

後加入

點閱次數 ({$post->getNumReads()})

來源:lss的ppt


arrow
arrow
    全站熱搜
    創作者介紹
    創作者 jianmin2 的頭像
    jianmin2

    閒人站 (收集好文章,分享全世界! )

    jianmin2 發表在 痞客邦 留言(0) 人氣()