Title: Post Content Slider
Author: Alan Hidalgo Pagoto
Published: <strong>2013 年 2 月 28 日</strong>
Last modified: 2013 年 3 月 28 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/post-content-slider.svg)

# Post Content Slider

 作者：[Alan Hidalgo Pagoto](https://profiles.wordpress.org/alanpagoto/)

[下载](https://downloads.wordpress.org/plugin/post-content-slider.zip)

 * [详情](https://cn.wordpress.org/plugins/post-content-slider/#description)
 * [评价](https://cn.wordpress.org/plugins/post-content-slider/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/post-content-slider/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/post-content-slider/#developers)

 [支持](https://wordpress.org/support/plugin/post-content-slider/)

## 描述

A plugin which allows you to put posts of a specific category (you can use even 
all the categories) in a widget. You can use more that one widget at the same time
and configure different time transictions between two posts. You’re able to change
the quantity of posts in each widget as well. When there are too many posts to be
loaded, the plugin loads the first ten and, when the first transiction is triggered(
between the first and the second posts) the 11th is loaded and put in the queue.
When the second transiction is triggered, the 12th post is loaded and the plugin
keeps doing it until all posts are loaded. When it happens, the plugin stops making
ajax requests to the server and the page runs normally.

You can find a demo on http://www.polvo.com.br/plugins/post-content-slider. There
are two widgets configured on the right. The first one is set to change the post
every 4 seconds and the second one every 10 seconds.

### Files structure

plugins/

postcontentslider.php => The main file of plugin. It calls some necessary hooks.

plugins/css

main.css => Has only one class, which turns absolute and hidden all the posts before
starts to slide them

plugins/includes

pcs_post_templace.php => This plugin works with ajax requests and creates new li
elements dinamically. This file is the structure of the posts on the widget.

pcs_widget_showdata.php => This is the widget class, which allows the plugin to 
show the information.

plugins/js

pcs_general.js => This javascript file changes the posts on the widget and make 
ajax requests

### How it works

After installing and activating the plugin, you must use it as a widget. At the 
widgets area, you may configure:

1) Widget title

The title that appears above the widget content

2) Box height

This is the size of the box which contains the post slider. You can change this 
value through css as well.

3) Category

You can choose a category to show the posts. For example: on this widget, I want
to show a slide of posts about football. Anyway, you can choose “Any” and your widget
will show the last posts of all categories.

4) Posts Quantity

You can choose the quantity of posts of your slideshow. You have the option of choosing“
All the posts” as well, and the page will show every single post of your blog (or
of a chosen category).

4.1) Ajax

If you choose more than 10 posts (or All posts), they will not be loaded when the
page is loaded. Only the first 10 posts are loaded. When the first transition is
triggered, the 11th post is loaded and added to the list with ajax. When the second
transition is triggered, the 12th post is loaded, etc. When all the posts are already
loaded and added to the list, the plugin stops making requests to the server through
ajax.

5) Exhibition time

You can choose the time (in seconds) between the transitions.

### Information

Remember that you can use more than one widget with this plugin and change the properties
for each one.

## 安装

1) Upload the folder `postcontentslider` to the `/wp-content/plugins/` directory

2) Activate the plugin through the ‘Plugins’ menu in WordPress 3) Use and configure
it through Widgets session

## 评价

此插件暂无评价。

## 贡献者及开发者

「Post Content Slider」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Alan Hidalgo Pagoto ](https://profiles.wordpress.org/alanpagoto/)
 *   [ polvodigital ](https://profiles.wordpress.org/polvodigital/)

[帮助将「Post Content Slider」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/post-content-slider)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/post-content-slider/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/post-content-slider/)，或通过[RSS](https://plugins.trac.wordpress.org/log/post-content-slider/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/post-content-slider/)。

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**13 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **3.4.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/post-content-slider/)
 * 标签
 * [ajax](https://cn.wordpress.org/plugins/tags/ajax/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
   [sidebar](https://cn.wordpress.org/plugins/tags/sidebar/)[slideshow](https://cn.wordpress.org/plugins/tags/slideshow/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/post-content-slider/advanced/)

## 评级

 2 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/post-content-slider/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/post-content-slider/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/post-content-slider/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/post-content-slider/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/post-content-slider/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/post-content-slider/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/post-content-slider/reviews/)

## 贡献者

 *   [ Alan Hidalgo Pagoto ](https://profiles.wordpress.org/alanpagoto/)
 *   [ polvodigital ](https://profiles.wordpress.org/polvodigital/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/post-content-slider/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.polvo.com.br)