[wordpress插件] Add Lightbox添加灯箱

wordpress 插件 文章 2020-01-30 12:00 591 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

This plugin for WordPress automatically add the rel=”lightbox[ID-OF-THE-POST]” to images linked in a post

此WordPress插件会自动将rel =“ lightbox [ID-OF-THE-POST]”添加到帖子中链接的图像

ID-OF-THE-POST is unique per post so all images per post are grouped in one lightbox set.

每个帖子的ID-OF-THE-POST都是唯一的,因此每个帖子的所有图片都归为一个灯箱集。

Works also with the gallery Fonction of WP 2.7 and in comments

还可与WP 2.7的Fonction画廊配合使用并在注释中使用

Doesn’t add the the files required for Lightbox (it only add the rel lightbox tag)!

不添加Lightbox所需的文件(仅添加rel lightbox标签)!

You have to insert yourself in your theme the required files or use a plugin like Lightbox 2 WordPress Plugin or Lightbox 2.3 plugin for WordPress

您必须在主题中插入所需的文件,或者使用Lightbox 2 WordPress插件或Lightbox 2.3 WordPress插件之类的插件

Changelog / Todo

变更日志/待办事项

0.4.1

0.4.1

* Optimizing the code

*优化代码

0.4

0.4

* Now Compatible with the Gallery Fonction of WP 2.7

*现在与WP 2.7的库功能兼容

* Adds also rel tag in the comments

*在评论中还添加rel标签

0.3

0.3

* Correction of a bug that added rel tag on links done on img tags.

*修正了在img标签上完成的链接上添加rel标签的错误。

0.2

0.2

* Correction of a small bug described by Kristof Mattei.

*纠正了Kristof Mattei描述的一个小错误。

Thanks to him for the help!

感谢他的帮助!

Thanks to all who sent bug reports and ideas for improvements.

感谢所有发送错误报告和改进建议的人。

Please send me a mail if I forgot you to mention here.

如果我忘了在这里提及您,请给我发邮件。

安装步骤

    1. Unzip the file
    2. 解压缩文件

    3. Upload it in /wp-content/plugins/ of your WordPress installation
    4. 将其上传到WordPress安装的/ wp-content / plugins /

    5. Activate the Plugin
    6. 激活插件

    7. That’s All
    8. 就这些

下载地址

https://downloads.wordpress.org/plugin/add-lightbox.zip

https://downloads.wordpress.org/plugin/add-lightbox.zip

-EOF-

AI助手支持GPT4.0