[wordpress插件] Always Valid Lightbox始终有效的灯箱

wordpress 插件 文章 2020-02-17 01:20 491 0 全屏看文

AI助手支持GPT4.0

评分
90
描述

Always Valid Lightbox is a Lightbox plugin which can automatically add the HTML attributes needed to trigger the effect on content image links, so that

始终有效的Lightbox是一个Lightbox插件,可以自动添加触发内容图像链接上的效果所需的HTML属性,以便

the user never has to add a class or an attribute to his content images in order to make the lightbox work.

用户无需为使灯箱正常工作而在其内容图像中添加类或属性。

Also, AVL allows the user to chose the attributes he wants inserted on his image links, depending on the Doctype declaration used in the website header.php template.

此外,AVL允许用户根据网站header.php模板中使用的Doctype声明选择要插入其图像链接的属性。

This way, the lightbox never generates markup validation errors at the W3C Validator test.

这样,灯箱永远不会在W3C验证程序测试中产生标记验证错误。

The jQuery lightbox effect is an adaptation based on David Ryan’s jQuery lightbox tutorial : http://dryan.com/articles/jquery-lightbox-tutorial/

jQuery灯箱效果是根据David Ryan的jQuery灯箱教程改编而成的:http://dryan.com/articles/jquery-lightbox-tutorial/

安装步骤

    1. Unzip the plugin and upload the ‘always-valid-lightbox’ directory to your /wp-content/plugins/ directory
    2. 解压缩插件,然后将“ always-valid-lightbox”目录上传到您的 / wp-content / plugins / 目录

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

    5. Configure the plugin in the Always Valid Lightbox configuration section of your administration panel.
    6. 在管理面板的“始终有效的灯箱”配置部分中配置插件。

下载地址
https://downloads.wordpress.org/plugin/always-valid-lightbox.zip
-EOF-

AI助手支持GPT4.0