سلام
یه افزونه میخام برای قسمت مدیریت که یه آماری از تعداد دفعاتی که از هر پست بازدید شده بده
سلام
یه افزونه میخام برای قسمت مدیریت که یه آماری از تعداد دفعاتی که از هر پست بازدید شده بده
فکر میکنم wp-postviews-plus به دردتون بخوره.
لینک صفحه اصلی:
http://wordpress.org/extend/plugins/wp-postviews-plus/
این هم توابعی که داره:
Function Reference
the_views('Views', true)
The views of post.
1st value: the world after views number.
2nd value: is output(true for output, false for return number)
the_user_views(' User Views', true)
The views of post by user.
1st value: the world after views number.
2nd value: is output(true for output, false for return number)
the_bot_views(' Bot Views', true)
The views of post by bot.
1st value: the world after views number.
2nd value: is output(true for output, false for return number)
get_most_viewed('', 10, 0 , true , true)
The most views posts. return the string of list start by
get_most_viewed_category(1, '', 10, 0, true, true)
The most views posts in catrgory. return the string of list start by
get_timespan_most_viewed('', 10, 7, true, true, 0)
The most views posts of posted in recent several days. return the string of list start by
get_timespan_most_viewed_cat(1, '', 10, 7, true, true, 0)
The most views posts in catrgory of posted in recent several days. return the string of list start by
get_totalviews(true, true, true)
Total views number
1st value: is output(true for output, false for return string)
2nd value: is include bot views(true for include, false for uninclude)
3th value: is include the post views of not by "post" or "page"(true for include, false for uninclude)