Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zeshanshani/c207f36ab157db4484cc to your computer and use it in GitHub Desktop.
Save zeshanshani/c207f36ab157db4484cc to your computer and use it in GitHub Desktop.
Envira Gallery - Load Lightbox from Link
<!--
1. Change data-envira-gallery-id to the Gallery ID you want to display
2. Ensure that Gallery is on the same page as the below link
3. Ensure the PHP file above is located in wp-content/plugins and activated via WordPress Admin > Plugins
-->
<a href="#" class="envirabox" data-envira-gallery-id="1234">Load Gallery in Lightbox</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment