wplightbox

By welrachid

★ 5.0/5 (1 ratings)70+ active installationsVersion 1.0.3

Plugin to help you make a lightbox with content whenever you click a link with a special class on it.

Description

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
NemTakeaway
NemGavekort

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

Installation

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.

FAQ

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.

Screenshots

Changelog

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.