If you would prefer to add Lightbox manually, first you need to disable automatically add option from the backend and add rel and data-type attributes to your links accordingly.
- Single Images
rel=”lightbox”
- Images Gallery
rel=”lightbox[gallery-0]”
- iFrame
rel=”lightbox” data-type=”iframe”
- Gmap
rel=”lightbox” data-type=”iframe”
- Vimeo
rel=”lightbox” data-type=”vimeo”
- Youtube
rel=”lightbox” data-type=”youtube”
- Ajax
rel=”lightbox” data-type=”ajax”
- Inline
rel=”lightbox” data-type=”inline”
Hope this helps! I’ll appreciate, if you could give it a rate.
A better place to add this information should probably be within your FAQ so that it is easier to find.
HI,
i would use your plugin and give a 5 star rate if i could trigger lightbox only by a specified class-attribute like “external” without “data-type=”iframe””.
so i can trigger a external webpage in lightbox by class-attribute.
the class-attribut is generated by wp_external_links
this would be very nice
Thanks from germany Tobias
PS: if you need data-type then let different class-attributs trigger the different data-types 😉
Hi
Is it possible to show lightbox from the main menu?
Thanks!
John