• Hello,
    I try to disable title on hover an image in Envira gallery. I found that this code should do the trick:

    <script type="text/javascript">
      jQuery('document').ready(function($){
      	$('.envira-gallery-image[title]').removeAttr('title');
      });
    </script>

    Unfortunately, I don’t know how to integrate this code into the plugin Code Snippets. I tried this solution, unfortunately it doesn’t work:

    add_action( 'wp_head', function () {
    	?>
    <script type="text/javascript">
      jQuery('document').ready(function($){
      	$('.envira-gallery-image[title]').removeAttr('title');
      });
    </script>
    	<?php
    } );

    Thank you for your help.

    • This topic was modified 5 years, 6 months ago by matiseli.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hi @matiseli,

    Apologies for not responding to this sooner. Would you still like some help with this, or is it all sorted now? The link you included doesn’t seem to work anymore.

    Thread Starter matiseli

    (@matiseli)

    Hello,
    thank you for your answer. Yes, I will be happy if you help me. Unfortunately, I have some issues with the website right now. Therefore, please wait a few days until I have time to fix it.
    Thank you.

    Plugin Author Shea Bunge

    (@bungeshea)

    No problem @matiseli, feel free to create a new thread or post here whenever you’re ready.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove title from image’ is closed to new replies.