Envira Gallery - going Pro license but it doesn't work

Hi,

I’ve seen similar posts to this from the last few weeks. I’ve purchased Envira Gallery (Pro license) and discovered there’s nowhere to enter the license key. I’ve read this post: https://theme.co/docs/envira-gallery#bundled-version

But… when I contacted Envira Gallery support they advised that even if I do the workaround to get the licensed Pro version of Envira in place it may still fail. Here’s a link to a screenshot of the email correspondence: https://share.getcloudapp.com/5zu91K8G

I’m concerned that I’m about to invest a heap of time now in a Gallery plug-in that doesn’t play nice with Theme.co/Pro (or vice versa as they seem to be pointing the finger at you).

So, before I roll Envira Gallery out to other Pro sites I’d like to check that there isn’t an alternative to Envira that you’d recommend at this point?

Thanks
Greg

Hi Greg,

Thanks for reaching out.
There is no option available for adding the License key to the bundled plugins. To get that, you need to upload the premium version of the plugin separately. Else you can follow the way suggested by the plugin author.

Thanks

Thanks. I’m guessing then (as you didn’t say) that you’re not recommending any alternative?

Hi Greg,

To add a license key for your Envira Gallery plugin, you may add this code in your child theme functions.php.

// Use purchased Envira Gallery 
// ==============================
function x_envira_gallery_remove_license_functionality() { 
  if (is_admin() ) {
    remove_action( 'envira_gallery_admin_styles', 'x_envira_gallery_hide_key_box' );
    remove_action( 'admin_print_scripts', 'x_envira_gallery_hide_license_errors', 20 );
	add_filter('pre_option_envira_gallery', function() {
		return [
			'type' => 'pro',
			'key' => 'your_product_key_here'
		];
	});  
  }
}
add_action('admin_init', 'x_envira_gallery_remove_license_functionality');

Just change the ‘key’ value to your purchase code. You may also check this thread that might answer your question.

Hope that helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.