web开发wordpress ajax方法示例, 增加文章阅读次数 functions.php function setPostViews($postID) { $count_key = ‘post_views_count’; $count = get_post_meta($postID, $count_key, true); if($count==”){ $count = 0; delete_post_me……继续阅读 » wangting 7年前 (2017-07-27) 1020浏览 0个赞