[wordpress插件] AlbumizeAlbumize

wordpress 插件 文章 2020-02-15 04:00 533 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

I wanted to take the convenience and ease of use of the built-in WordPress [gallery] shortcode and add a little more functionality to it.

我想利用内置的WordPress [gallery] 简码的便利性和易用性,并为其添加更多功能。

By organizing your galleries as multiple child pages of one parent page, you can use this plugin to see a preview thumbnail and description of each gallery.

通过将画廊组织为一个父页面的多个子页面,您可以使用此插件查看每个画廊的预览缩略图和说明。

Styling

样式

Version 1.2 added increasing styling options by wrapping each element in a .

1.2版通过将每个元素包装在

中来增加了样式选项。

There are two display options included with the plugin and limitless possibilities exist for any type of custom styling you would like to do.

插件包含两个显示选项,您想做的任何类型的自定义样式都存在无限的可能性。

Horizontal styling is the default using only the [albumize] shortcode.

水平样式是仅使用 [albumize] 短代码的默认样式。

However, to use the included vertical styling (thanks Roman!) simply use [albumize style='vert'

但是,要使用包含的垂直样式(感谢罗马!),只需使用 [albumize style ='vert'

].

]

To add your own custom styling, use [albumize style='yourstylename'] (where 'yourstylename' is any name you'd like to classify it as) and add the styling to your themes

要添加您自己的自定义样式,请使用 [albumize style ='yourstylename'] (其中“ yourstylename”是您想要将其分类为的任何名称),然后将样式添加到主题中

stylesheet.

样式表。

The Albumize elements are classified as the following:

专辑化元素分为以下类别:

    • albumize_gallery_yourstylename
    • albumize_gallery_yourstylename

    • albumize_thumb_yourstylename
    • albumize_thumb_yourstylename

    • albumize_title_yourstylename
    • 相册标题_您的样式名

    • albumize_desc_yourstylename
    • albumize_desc_yourstylename

    • albumize_count_yourstylename
    • 相册数量_您的样式名称

    Whatever you use for the style attribute will be used as the last part of the element classification when the album is displayed.

    在显示相册时,用于 style 属性的任何内容都将用作元素分类的最后一部分。

    Just add your own styling for these elements and you are all set to go.

    只需为这些元素添加您自己的样式,即可开始工作。

    Add as many different styles as you want and call any of them using the style attribute.

    根据需要添加尽可能多的不同样式,并使用 style 属性调用其中的任何一种。

安装步骤

    1. Upload the albumize folder to the /wp-content/plugins/ directory
    2. albumize 文件夹上载到 / wp-content / plugins / 目录

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

    5. Create a page that will function as your album and place the [albumize] shortcode in it.
    6. 创建一个将用作相册的页面,并将 [albumize] 短代码放入其中。

    7. Create child pages of your album page and place your galleries in them.
    8. 在相册页面中创建子页面,然后将图库放置在其中。

    9. (Optional) Create a brief description of your gallery by using an “alb_blurb” custom field key and the description in the value.
    10. (可选)使用“ alb_blurb”自定义字段键和值中的描述来创建画廊的简短描述。

    11. (Optional) Select the gallery cover for the album by using an “alb_cover” custom field key and the number of the picture in the gallery (e.g. 5, 13, etc) for the value.

    12. (可选)使用“ alb_cover”自定义字段键为相册选择相册的封面,并为其指定图片在相册中的编号(例如5、13等)。

      The first picture in the gallery will be used by default.

    13. 画廊中的第一张照片将默认使用。

下载地址

https://downloads.wordpress.org/plugin/albumize.1.2.zip

https://downloads.wordpress.org/plugin/albumize.1.2.zip

-EOF-

AI助手支持GPT4.0