Wordpress文章列表插件Articles详细介绍

Filed under: Wordpress |
Posted on

版权信息:
Tags: articles, featured posts, highlight, best
Contributors: Alex King
Requires at least: 2.3(需要Wordpress2.3 以上版本)
Tested up to: 2.3
Stable tag: 1.2
本站使用了该插件,查看插件列表

一、作用
The Articles plugin allows you to display a list of posts you wish to feature/highlight.
允许你在post或者page页面中显示一个文章列表。

获取插件:Download
效果演示:显示文章列表

二、安装
1. 下载插件并解压
2. 上传 articles.php 到wp-content/plugins/ 目录
3. 进入管理页面的 Plugins 激活你的插件
4. 进入 Options 页面设置插件

三、选择需要加入列表的文章
在post页面(发表文章)中底部增加一个custom field,设置为:
Key: article
Value: 1

四、如何显示文章列表
可以通过两种方法显示列表:
1. Token Method(直接显示的方法)
默认显示方法,也是最简单的方法,你只需要在你的post(发表文章)页面或者page内容中,加入如下代码(请确认你已经完成了第三步):

###articles###

2、Template Tag Method(模板修改方法)
你还可以在模板中通过添加一下代码显示文章列表:

<?php aka_show_articles(); ?>

That about does it - enjoy!



本文有 3 Responses

  1. 死鱼 Says:

    严重支持一下!很牛逼的插件啊

  2. 荒草 Says:

    你好,我也用的这个插件但是无法显示出来,以前也成功过,但现在不行了,我是按照说明一步一步来的,帮我看一下是什么问题。
       www.huangcao214.cn

  3. game7z Says:

    不错的插件,我改一下再用.

评论或留言