Title: wplightbox
Author: welrachid
Published: <strong>2019 年 12 月 6 日</strong>
Last modified: 2023 年 2 月 6 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wplightbox.svg)

# wplightbox

 作者：[welrachid](https://profiles.wordpress.org/welrachid/)

[下载](https://downloads.wordpress.org/plugin/wplightbox.zip)

 * [详情](https://cn.wordpress.org/plugins/wplightbox/#description)
 * [评价](https://cn.wordpress.org/plugins/wplightbox/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wplightbox/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wplightbox/#developers)

 [支持](https://wordpress.org/support/plugin/wplightbox/)

## 描述

No dependencies. A simple non-intrusive lightweight plugin for wordpress for easily
making lightboxes on desktop+tablets while redirecting user on mobile.
 Plugin is
mainly developed for easier integration with [BookEtBord](https://www.BookEtBord.dk)
[NemTakeaway](https://www.nemtakeaway.dk) [NemGavekort](https://www.nemgavekort.dk)

Using the plugin only requires you to set a classname wplightbox on your anchor 
elements

## 屏幕截图

[⌊Back-end⌉⌊Back-end⌉[

Back-end

[⌊Front-end Desktop⌉⌊Front-end Desktop⌉[

Front-end Desktop

## 安装

Download and install the plugin and activate it. It will make an admin menu link–
click on it. Now give your buttons and links a class called wplightbox and see them
open in a lightbox.

## 常见问题

### Is there any requirements for any external plugins

No. No requirements

### How do i use the plugin

You simply install the plugin and add classname **wplightbox** to the <A> links.
Would also work on buttons or other elements that have a href element inside of 
it.

### How do i use the plugin (javascript)

You can call the plugin using the openwplightbox(Url) function that takes one parameter,
URL. Make sure it is a complete url.

## 评价

![](https://secure.gravatar.com/avatar/fc98968a30cabab9270226746dc390015377c8529dfbfce108a6d6a1f626a53e?
s=60&d=retro&r=g)

### 󠀁[Easy to use](https://wordpress.org/support/topic/easy-to-use-3139/)󠁿

 [Skymone](https://profiles.wordpress.org/skymone/) 2020 年 4 月 28 日

Very simple plugin, anyone can figure out how to use it!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/wplightbox/reviews/)

## 贡献者及开发者

「wplightbox」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ welrachid ](https://profiles.wordpress.org/welrachid/)

[帮助将「wplightbox」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wplightbox)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wplightbox/)，查看[SVN仓库](https://plugins.svn.wordpress.org/wplightbox/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wplightbox/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wplightbox/)。

## 更新日志

#### 1.0.4

Enqueue scripts/styles handle name updated

#### 1.0.3

FAQ updated

#### 1.0.2

Description changed

#### 1.0.1

Author URI changed

#### 1.0.0

 * First version

This plugin helps you make a lightbox without any conflicts with your existing plugins.
It simply uses plain Javascript and CSS to achive this.

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**3 年前**
 *  活跃安装数量 **70+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wplightbox/)
 * 标签
 * [lightbox](https://cn.wordpress.org/plugins/tags/lightbox/)[nemtakeaway](https://cn.wordpress.org/plugins/tags/nemtakeaway/)
 *  [高级视图](https://cn.wordpress.org/plugins/wplightbox/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/wplightbox/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wplightbox/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wplightbox/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wplightbox/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/wplightbox/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wplightbox/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wplightbox/reviews/)

## 贡献者

 *   [ welrachid ](https://profiles.wordpress.org/welrachid/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wplightbox/)