Documentation, Reference Materials and Tutorials for Envira Gallery
Would you like to enable shortcodes inside the gallery descriptions of your galleries? Envira Gallery makes that easy to do after a little customization. Let’s take a look at how to do this!
To enable shortcode in Envira gallery descriptions, just add the following code to a new file at /wp-content/plugins/envira-gallery-allow-shortcodes.php
:
<?php /* * Plugin Name: Envira Gallery - Allow Shortcodes in Envira Gallery Description * Plugin URI: https://enviragallery.com * Version: 1.0.0 * Author: Envira Gallery Team * Author URI: https://enviragallery.com * Description: Add shortcodes to your Envira gallery descriptions */ add_filter( 'envira_gallery_output', 'do_shortcode' );
If you’re unsure how to create a plugin file, follow these steps below:
envira-gallery-allow-shortcodes.php
In your next step, you’ll just need to activate the plugin.
Navigate to the Plugins from within your WordPress dashboard and activate the Envira Gallery – Allow Shortcodes in Envira Gallery Description plugin.
For more customization to Envira Gallery, check out how to style image title and caption hover effects.
A: Currently this only works for Envira galleries.
Envira Gallery: Create, Showcase, and Sell Your Work – Trusted by 150k+ Sites.
Enter the URL of your WordPress website to install
Unlock even more powerful features designed to make your galleries even more beaituful.
Video Galleries
eCommerce
Social media Sharing
Adobe Lightroom
And much more!
Copyright © [#this year :%Y] Envira Gallery, LLC. Envira Gallery is a trademark of Envira Gallery, LLC.