Title: Content Slideshow
Author: Nick Halsey
Published: <strong>2014 年 1 月 8 日</strong>
Last modified: 2026 年 7 月 14 日

---

搜索插件

![](https://ps.w.org/content-slideshow/assets/icon-256x256.jpg?rev=1063586)

# Content Slideshow

 作者：[Nick Halsey](https://profiles.wordpress.org/celloexpressions/)

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

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

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

## 描述

This plugin creates a fullscreen slideshow that displays randomly-selected pictures
from your media library. Designed to display pictures related to your business/organization
in the background at an event or in your office, there is no need to configure any
settings or controls. Image captions/descriptions are automatically displayed as
well, and can be configured based on your needs.

Once activated, you can view the slideshow by visiting `http://yourdomain.com/slideshow`.
All JPEG images will be displayed (since .jpg is best for pictures, while .png and.
gif are typically used for graphics).

Please note that it is not currently possible to pause the slideshow or go back;
the slideshow is not designed for personal viewing. However, clicking/tapping on
the image will open its attachment page in a new tab, allowing images to be contextualized
or edited easily.

The slideshow can also be embedded into your site via a widget or a shortcode.

You can control some options by adjusting the url of the slideshow. Parameters are
controlled via query string (and widget options and shortcode attributes).

 * `size` is the size of the image to load, either `thumbnail` (discouraged), `medium`,`
   large`, `full`, or `auto`, which uses medium or large depending on `wp_is_mobile()`.
 * `year` is the 4-digit numeric year in which the images were published.
 * `month` is the numeric month in which the images were published (between 1 and
   12), typically but not necessarily used in conjunction with `year`.
 * `mode` defines a subset of images to use, such as `featured` for featured images
   only.
 * `captions` controls the captions display: either `auto`, `none`, `title`, `titlecaption`,`
   caption`, or `description`. Caption data is read from the image attachment post
   and can be updated in the media library.

Using all options, for example:
 http://example.com/slideshow?size=full&year=2014&
month=4&mode=featured&captions=titlecaption

You can see it in action [here](http://uscasce.com/slideshow).

## 屏幕截图

[⌊Full-screen mode.⌉⌊Full-screen mode.⌉[

Full-screen mode.

[⌊Shortcode, in the Twenty Fourteen theme.⌉⌊Shortcode, in the Twenty Fourteen theme
.⌉[

Shortcode, in the Twenty Fourteen theme.

[⌊Widget, in the Twenty Fourteen theme.⌉⌊Widget, in the Twenty Fourteen theme.⌉[

Widget, in the Twenty Fourteen theme.

## 安装

 1. Take the easy route and install through the WordPress plugin adder OR
 2. Download the .zip file and upload the unzipped folder to the `/wp-content/plugins/`
    directory
 3. 通过WordPress的的“Plugins”菜单激活插件
 4. Go to `http://yourdomain.com/slideshow` to see the slideshow in action. Add a widget
    version from the Widgets section in the Customizer or add the [content_slideshow]
    shortcode to a post or page.

## 常见问题

### Where’s the settings page?

For simplicity’s sake, no settings page is included. Settings for this plugin tend
to depend on the exact situation in which you are using it, so rather than going
to the setting page every time you want to use it, you can adjust the parameters
via tweaks to the slideshow url (see details below).

### What happened to my page at /slideshow?

This plugin overrides WordPress at the `slideshow/` url. If you have a post/page
with that slug, it will no longer be accessible on the front-end. This may be desired;
for example, you could create an empty slideshow page so that you have a record 
of the plugin’s presence and can more easily add it to navigation menus. You don’t
have to have a page thee, though, and you can manually add the slideshow URL to 
your navigation menus.

### Loading higher quality images

You can force the plugin to always show the highest resolution pictures available
by using the `size` query argument (`http://example.com/slideshow?size=full`). Note
that this could cause speed issues with loading the images if your internet connection
or your web server is slow.

### Loading images from a specific time frame

The plugin supports `year` and `month` parameters that can be used to only show 
images uploaded in a given time period (see the description for an example).

### Using the Shortcode

The shortcode version supports all four parameters that the full URL version supports,
as attributes:
 [content_slideshow size=”medium” year=”2014″ month=”1″ mode=”featured”]

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Nick Halsey ](https://profiles.wordpress.org/celloexpressions/)

「Content Slideshow」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/content-slideshow/contributors)
为本插件所做的贡献。

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

### 对开发感兴趣吗?

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

## 更新日志

#### 2.5

 * Stability and security improvements.

#### 2.4.1

 * Fix missing file in 2.4 release package.

#### 2.4

 * Add code comments for the slideshow JS.
 * Lazy-load slideshow iframes in widgets and shortcodes. Image loading is already
   lazy.
 * Exclude images with `wp_attachment_context` from the slideshow (site icons, cropped
   header images, etc).

#### 2.3

 * Add a “featured” mode to only show featured images.
 * Add options to configure the captions display, including UI options in the widget
   controls.

#### 2.2

 * Fix keyboard accessibility so that only the visible image can be focused with
   the keyboard.

#### 2.1

 * Add support for selective refresh in the customizer preview, available in WordPress
   4.5.

#### 2.0

 * The slideshow is now JavaScript-driven. Images should load faster with smoother
   transitions between them, but the initial load time will be slower. The slideshow
   page will reload itself much less often now.
 * The delay query arg has been removed.
 * Fix WordPress 4.3 compatibility.
 * Add translations.

#### 1.1

 * Link images in slideshow to their attachment pages.
 * Fix display of attachment titles as fallback captions.
 * Fix viewport in IE10+ in Windows 8 mode.
 * Confirm WordPress 3.9 compatibility.

#### 1.0

 * First publicly available version of the plugin.
 * Tested with WordPress 3.8.

## 额外信息

 *  版本 **2.5**
 *  最后更新：**1 月前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 4.1 或更高版本 **
 *  已测试的最高版本为 **7.0.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/content-slideshow/) 和 [Swedish](https://sv.wordpress.org/plugins/content-slideshow/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/content-slideshow)
 * 标签
 * [media](https://cn.wordpress.org/plugins/tags/media/)[pictures](https://cn.wordpress.org/plugins/tags/pictures/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)[slideshow](https://cn.wordpress.org/plugins/tags/slideshow/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/content-slideshow/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/content-slideshow/reviews/#new-post)

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

## 贡献者

 *   [ Nick Halsey ](https://profiles.wordpress.org/celloexpressions/)

## 支持

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

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