[wordpress插件] Content Slideshow内容幻灯片

wordpress 插件 文章 2020-04-01 09:00 434 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

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.

激活后,您可以通过访问 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).

将显示所有JPEG图像(因为.jpg最适合图片,而.png和.gif通常用于图形)。

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.

您可以通过调整幻灯片的URL来控制某些选项。

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

    • size 是要加载的图像的大小,可以是 thumbnail (已废弃), medium large

      , full, or auto, which uses medium or large depending on wp_is_mobile().

    • full auto ,根据 wp_is_mobile()使用中型还是大型。

    • year is the 4-digit numeric year in which the images were published.
    • year 是发布图像的4位数字年份。

    • month is the numeric month in which the images were published (between 1 and 12), typically but not necessarily used in conjunction with year.
    • month 是发布图像的数字月份(1到12之间),通常但不一定与 year 结合使用。

    • mode defines a subset of images to use, such as featured for featured images only.
    • 模式定义了要使用的图像子集,例如 featured 仅用于特色图像。

    • captions controls the captions display: either auto, none, title, titlecaption

    • 字幕控制字幕的显示: auto none title titlecaption

      code>, 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

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

    You can see it in action here.

    您可以在此处看到它。

安装步骤

    1. Take the easy route and install through the WordPress plugin adder OR
    2. 采用简单的方法并通过WordPress插件添加程序进行安装或

    3. Download the .zip file and upload the unzipped folder to the /wp-content/plugins/ directory
    4. 下载.zip文件,并将解压缩的文件夹上载到 / wp-content / plugins / 目录

    5. Activate the plugin through the ‘Plugins’ menu in WordPress
    6. 通过WordPress中的“插件”菜单激活插件

    7. Go to http://yourdomain.com/slideshow to see the slideshow in action.

    8. 转到 http://yourdomain.com/slideshow 观看正在运行的幻灯片。

      Add a widget version from the Widgets section in the Customizer or add the [content_slideshow] shortcode to a post or page.

    9. 从定制程序的“小部件”部分添加小部件版本,或将[content_slideshow]短代码添加至帖子或页面。

下载地址
https://downloads.wordpress.org/plugin/content-slideshow.2.3.zip
-EOF-

AI助手支持GPT4.0