序号共1篇
在WordPress中获取文章序号的方法-主题传送门

在WordPress中获取文章序号的方法

在主题中的functions.php加入以下代码: function fa_get_postIndex_this_year( $postid = null ){ global $post; $postid = $postid ? $postid : get_the_ID(); if ( get_the_date('Y') != dat...
ZTCSM的头像-主题传送门ZTCSM5年前
09500