[wordpress插件] downloadable gallery可下载的画廊

wordpress 插件 文章 2020-04-21 20:10 502 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

A shortcode which shows an gallery of downloadable images.

显示可下载图像库的简码。

The basic idea was to have an easy way to make some images available for download.

基本思想是有一种简单的方法可以使一些图像可供下载。

For a working demo see: http://plugins.funsite.eu/downloadable-gallerie/

有关有效的演示,请参见:http://plugins.funsite.eu/downloadable-gallerie/

shortcode

简码

[downloadable_images taxonomy="gallery" slug="wallpaper"]

  [downloadable_images taxonomy =“ gallery” slug =“ wallpaper”]

The default for taxonomy is gallery, the default slug is “wallpaper”.

分类法的默认值为Gallery,默认子句为“ wallpaper”。

So the above could also be used as

因此上述内容也可以用作

[downloadable_images]

  [downloadable_images]

I use this plugin together with “Enhanced Media Library” (https://wordpress.org/plugins/enhanced-media-library/) which enables a taxonomy on the

我将此插件与“增强型媒体库”(https://wordpress.org/plugins/enhanced-media-library/)一起使用,从而可以在
上进行分类

media library (besides other features)

媒体库(其他功能除外)

This plugin implements a custom thumbnail size of 300px width so probably you will have to regenerate thumbnails too.

此插件实现了300px宽度的自定义缩略图大小,因此可能您也必须重新生成缩略图。

As a minimum for the

至少要

photo’s shown if they are already uploaded.

显示照片是否已经上传。

New uploaded photo’s will generate this thumbnail automatically.

新上传的照片将自动生成此缩略图。

安装步骤

    1. Upload plugin-name.php to the /wp-content/plugins/ directory
    2. plugin-name.php 上载到 / wp-content / plugins / 目录

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

    5. Add the shortcode to a page.
    6. 将简码添加到页面中。

    7. regenerate thumbnails for the photo’s which you want to show.
    8. 为要显示的照片重新生成缩略图。

下载地址
https://downloads.wordpress.org/plugin/downloadable-gallery.1.3.zip
-EOF-

AI助手支持GPT4.0