[wordpress插件] Plugin Name: Always valid lightbox mod插件名称:始终有效的灯箱模组

wordpress 插件 文章 2020-02-17 01:30 560 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin is a modification of the “Always valid lightbox” plugin created by Joffrey Quillet.

此插件是对 Joffrey Quillet 创建的“始终有效的灯箱”插件的修改。

This mod contains a fix for the buggy image resizing and for the description text inside the lightbox popup.

该mod包含针对错误的图像大小调整和灯箱弹出窗口内的描述文本的修复程序。

Also, it uses only the built-in jQuery library.

此外,它仅使用内置的jQuery库。

More info.

更多信息

Always Valid Lightbox is a Lightbox plugin whose markup adapts to the WP site’s Doctype, in order to always provide a valid HTML markup.

始终有效的灯箱是一个灯箱插件,其标记适应WP网站的Doctype,以便始终提供有效的HTML标记。

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-mod’ directory to your /wp-content/plugins/ directory
    2. 解压缩插件,然后将“ always-valid-lightbox-mod”目录上传到您的 / 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-mod.zip
-EOF-

AI助手支持GPT4.0