11月 5th, 2008

WordPress中Popularity Contest插件模板函数

Category: 网站优化, WordPress, Author: admin, Popularity: 7%

Popularity Contest 插件的模板函数说明:

1>显示当前文章流行度。
akpc_the_popularity()

2>最流行的10篇日志
akpc_most_popular($limit = 10, $before = ‘<li>’, $after = ‘</li>’)

3>某类别下的最流行的10篇日志
akpc_most_popular_in_cat($limit = 10, $before = ‘<li>’, $after = ‘</li>’, $cat_ID = current category):

4>某月份最流行的10篇日志
akpc_most_popular_in_month($limit=10, $before, $after, $m = YYYYMM)

相关日志

Tags:, , .
评论数量() | Add Comments
本文网址:http://www.9usb.net/200811/wordpress-popularity-contest.html

There are No comments.

» You can leave a response

leave a reply