Created
August 23, 2017 03:51
-
-
Save ericakfranz/86fd24220f93bd8cb99f45f6d30d0c33 to your computer and use it in GitHub Desktop.
Fix Enfold theme's hover action on Envira gallery images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('envira_gallery_output_before_image', 'enfold_envira_gallery_output_before_image', 10, 5); | |
function enfold_envira_gallery_output_before_image( $output, $id, $item, $data, $i ) { | |
$output = str_replace('envira-gallery-link', 'envira-gallery-link noHover', $output); | |
return $output; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment