Lightbox

The BNE Creative Framework incorporates a simple, responsive lightbox plugin called Magnific Popup. You can display a simple image, iframe, gallery or inline content using a lightbox. The lightbox shortcode is included to easily create a lightbox instance from your content or you can manually set it up with HTML.

Image Lightbox from Thumbnail

[lightbox type=”image” link=”http://demo.bnecreative.com/sweetness/wp-content/uploads/sites/3/2016/01/demo9.jpg”  width=”” thumb=”http://demo.bnecreative.com/sweetness/wp-content/uploads/sites/3/2016/01/demo9-300×188.jpg” frame=”true” label=”The Dog!” class=””]

 

Lightbox from Buttons

Use a button or link to also open a lightbox image or iframe.

[lightbox type=”image” link=”http://docs.bnecreative.com/wp-content/uploads/2016/11/man.jpeg” label=”Open Lightbox Image” frame=”true” class=”btn btn-default”] [lightbox type=”iframe” link=”https://www.youtube.com/watch?v=ginTCwWfGNY” label=”Open Lightbox YouTube” frame=”true” class=”btn btn-primary”] [lightbox type=”iframe” link=”https://en.wikipedia.org/wiki/Star_Trek” label=”Open Lightbox Iframe” frame=”true” class=”btn btn-link”]

 

Default WordPress Gallery Support

When inserting a standard WordPress [gallery], linking thumbnails to the Media Files, will allow your theme to automatically link them all to lightbox popups.