Linux 软件免费装

Author Complete Post List

开发者 zelopes
更新时间 2009年2月13日 08:26
WordPress版本: 2.7

标签

post author multiple co-author

下载

2.0

详情介绍:

Provides an easy way to display the complete list of the an author's posts, including the posts where he's also co-author. It solves two problems with the author page:
  1. It displays all the posts from the author despite any pre-definition of the maximum number of posts to be displayed.
  2. It counts the posts where the user is co-author, even if he's not the original poster.
The plugin was created in reference to the author.php example on the Wordpress. On the Plugin homepage you will find these description and instructions: Usage You have two options to call this plugin on your template (for instance the author.php):
  1. For the total number of posts of the author include: <?php total_posts($author, $curauth->user_login) ; ?>
  2. For the complete list of the author's posts include: <?php full_post_list($author, $curauth->user_login) ; ?>
Note that the arguments are to be writen like that. Version 2.0 Note This new version includes Internacionalization. If you have the previous version 0.1 installed you just need to install the new files. You don't need to change the functions calls since they are compatible. Requirements You should be aware of the following points:
  1. If you are using the multiple-authors plugin:
  2. The co-author is added automatically once he edits the post.
  3. You can also add the co-author manually (see the next point).
  4. If you are not using the multiple-authors plugin or if you want to do it manually:
  5. Add a costum key on the post. Use 'other_author' as key name, and the author login name as value.

安装:

  1. Upload author-complete-post-list.php to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu of WordPress.
  3. Place in your templates:
  4. For the total of posts: <?php total_posts($author, $curauth->user_login); ?>
  5. For the list of posts: <?php full_post_list($author, $curauth->user_login); ?>