WordPress相关日志插件Related Posts介绍
在WordPress博客写作中,一般都会在每篇文章页提供一个相关文章或者随机日志阅读,这个功能是如何实现的呢?这需要安装一个适用于WordPress的相关文章插件,互联网观察使用的是Related Posts Plugin。在此特别向大家介绍一下WordPress Related Posts Plugin这个插件的情况、使用方法以及下载地址等。
一、WordPress Related Posts Plugin的官方英文介绍:
1、Description
Author: Denis
WordPress Related Posts Plugin will generate a related posts via WordPress tags, and add the related posts to feed.
2、Installation
Upload the folder WPRP to the /wp-content/plugins/ directory
Activate the plugin through the ‘Plugins’ menu in WordPress
Place <?php wp_related_posts(); ?> in your templates
Navigate to Manage > Option > WordPress Related Posts to configure plugin output.
二、WordPress Related Posts Plugin的中文介绍:
1、介绍说明
WordPress相关日志插件会根据日志的 tag 的相关性产生一个相关日志列表。并且把相关日志列表添加到Feed 中。
2、安装使用方法
上传整个插件文件夹到 /wp-content/plugins/ 目录下
在插件菜单下激活插件
在模板文件中适当的位置插入 <?php wp_related_posts(); ?> 模板函数
在管理界面下,Manage > Option > WordPress Related Posts 中配置插件的输出
3、补充解析说明
安装方法直接把下载下来的压缩包解压,把wp_related_posts.php文件上传到/wp-content/plugins/ 目录下。然后在WordPress后台插件菜单中选择启用该插件。接着在后台设置> WordPress Related Posts填写好必要参数就大功告成了。
三、WordPress相关日志插件设置中other setting几个参数的英文翻译:
Auto Insert Related Posts,自动插入相关文章,如果选择该项,则不用在主题模板中插入<?php wp_related_posts(); ?> 模板函数,如果你懂得修改代码,建议不要选择该项,而自己根据文章的版面情况手动添加代码。
Related Posts for RSS,为RSS提供相关文章。
Display Comments Count,显示文章评论数量。
Display Post Date,显示文章发表日期。
四、WordPress Related Posts Plugin下载地址:
WordPress相关日志插插件(Related Posts Plugin)目前最新版本为Version: 0.9。点击下面直接下载:Download。
(本文作者:互联网观察-水杰,内容来源WordPress.org)
随机文章阅读
如果您对此文章感兴趣,请在此留言评论,彼此交流,共同进步。您也可以Feed订阅到您的阅读器,以获取本博客的更多文章。
Comments
安装方法如文中所说,上传好后,在后台“插件”中激活该插件,接下来在“设置”栏中找到该项的设置。“When No Related Posts, Dispaly”项选择“Random Posts”;并且把“Other Setting”中的“Auto Insert Related Posts”选择上。这样就大功告成,就不用在“外观”页面代码中插入 < ?php wp_related_posts(); ?> 模板函数。
安装方法如文中所说,上传好后,在后台“插件”中激活该插件,接下来在“设置”栏中找到该项的设置。“When No Related Posts, Dispaly”项选择“Random Posts”;并且把“Other Setting”中的“Auto Insert Related Posts”选择上。这样就大功告成,就不用在“外观”页面代码中插入 模板函数。
我按照你的方法试了,但是把“Other Setting”中的“Auto Insert Related Posts”选择上后就会出现两个相关日志或两个随机文章。所以建议这个不选。就正常了,参考我的博客:http://www.54zyr.com/zyrblog

thanks