Popularbycomments——WordPress热门文章插件
本插件依据评论数量来评定热门程度,
下载地址:下载
使用方法:
1.下载后解压上传至/wp-content/plugins/目录,
Upload this directory to your plugins directory to the /wp-content/plugins/ directory
2.进入后台控制板,激活插件;
Activate the Plugin via the Plugins section at your WordPress admin panel.
3.在你的模板中使用插入
inside your template.
输出结果outexample:
Popular posts
- 10个助你精通Adobe Illustrator的教程全集
- 图片垂直居中的使用技巧
- 如何跨浏览器使用连续字符的换行
- 帮你学好Flash的资源集合分享
- 网站背景: 70+ 流行趋势,以及如何更好的实现
- 10顶级的Illustrator教程网站
- 你应该收藏的39个Photoshop按钮教程
- 清除浮动的最优方法
- 百分比的细节——容器大小篇
- 对比国内门户网站对Flash激活限制的处理
4.高级使用
Popular posts
- ',
10,
'no',
'
%post_title% %comments% comments
',
'
参数含义依次为:
1.热门文章列表前代码;
2.显示文章数量;
3.单个文章列表递曾类名如:no1,no2,no3…;
4.每个列表输出格式;
5.结尾更多页链接输出格式;
6.自定义字段名称;
7.自定义字段值默认替换;
8.更多链接地址。
输出格式介绍:%No%为类名;%post_url%日志地址;%post_meta%自定义字段值(Custom Fields),%comments%评论数量;%moreurl%更多链接地址,%post_title%日志标题;
输出结果outexample:
Popular posts
10个助你精通Adobe Illustrator的教程全集 1 comments
图片垂直居中的使用技巧 0 comments
图片垂直居中的使用技巧 0 comments
图片垂直居中的使用技巧 0 comments
.....
图片垂直居中的使用技巧 0 comments
第四节由于本人英语水平不高就不翻译,这个插件是我的第一个WordPress插件,有什么问题请给我发邮件juqng@ymail.com