[wordpress插件] Auto Thickbox自动厚度盒

wordpress 插件 文章 2020-02-24 22:30 502 0 全屏看文

AI助手支持GPT4.0

评分
76
描述

The Auto Thickbox plugin for WordPress automatically enables thickbox on thumbnail images (i.e. opens the images in a fancy pop-up), through the use of WordPress’ built-in thickbox library.

适用于WordPress的Auto Thickbox插件通过使用WordPress内置的thickbox库自动在缩略图上启用了thickbox(即在精美的弹出窗口中打开图像)。

In the event you’d like to override this for an individual image, you can disable the behavior by adding the ‘nothickbox’ class to its anchor tag.

如果您想覆盖单个图像,可以通过在其锚标记中添加“ nothickbox”类来禁用该行为。

Thickbox Galleries

Thickbox画廊

By default, the auto thickbox plugin will bind all images within a post into a single thickbox gallery.

默认情况下,自动thickbox插件会将帖子中的所有图像绑定到单个thickbox画廊中。

That is, next image and previous image links will appear so you can navigate from an image to the next.

也就是说,将显示下一张图片和上一张图片的链接,以便您可以从一张图片导航到下一张。

The behavior is particularly interesting when you create galleries using WordPress’ image uploader.

当您使用WordPress的图片上传器创建图库时,这种行为特别有趣。

Have the images link to the image file rather than the attachment’s post, and you’re done.

将图像链接到图像文件而不是附件的帖子,就可以完成。

On occasion, you’ll want to split a subset of images into a separate gallery.

有时,您需要将图像的子集拆分为单独的图库。

Auto Thickbox lets you do this as well: add an identical rel attribute to each anchor you’d like to group, and you’re done.

Auto Thickbox也可以让您执行此操作:向要分组的每个锚点添加一个相同的rel属性,然后完成。

(Note: To set the rel attribute using WordPress' image uploader, start by inserting the image into your post. Then, edit that image, browse its advanced settings, and set “Link Rel” in the Advanced Link Attributes.)

(注意:要使用WordPress的图片上传器设置rel属性,请先将图片插入您的帖子中。然后,编辑该图片,浏览其高级设置,然后在“高级链接属性”中设置“ Link Rel”。)

Thickbox Anything

任何厚纸箱

Note that thickbox works on any link, not merely image links.

请注意,thickbox适用于任何链接,而不仅仅是图像链接。

To enable thickbox on an arbitrary link, set that link’s class to thickbox.

要在任意链接上启用thickbox,请将该链接的类设置为thickbox。

No thickbox

没有thickbox

In the event you want to disable thickbox on some links to images, assign it a nothickbox class.

如果要在某些指向图像的链接上禁用thickbox,请为其分配一个nothickbox类。

Keyboard support

键盘支持

Thickbox supports the following keys:

Thickbox支持以下键:

– Next Image: Greater Than (>) or Left Arrow

–下一张图片:大于(>)或向左箭头

– Previous Image: Less Than (<) or Right Arrow

–上一张图片:小于(<)或向右箭头

– First Image: Home

–第一张图片:首页

– Last Image: End

–最后一张图片:结束

– Close Popup: Esc or Enter/Return

–关闭弹出窗口:Esc或Enter / Return

Hat Translators

帽子翻译器

    • German: hakre
    • 德语:hakre

    • Portuguese/Brazil: Henrique Schiavo
    • 葡萄牙语/巴西:Henrique Schiavo

    Help Me!

    救救我!

    The Plugin’s Forum is the best place to report issues.

    插件论坛是报告问题的最佳场所。

安装步骤

    1. Upload the plugin folder to the /wp-content/plugins/ directory
    2. 将插件文件夹上传到 / wp-content / plugins / 目录

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

下载地址
https://downloads.wordpress.org/plugin/auto-thickbox.zip
-EOF-

AI助手支持GPT4.0