Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
  • #1236678

    Hi there guys,


    I have been using a snippet of code added to the theme functions.php, which has stopped working with the current update, and I’m just looking for an update on what to search for and/or replace it with.

    The old search was for:
    $(‘a, img’).removeAttr(‘title’);
    And was then changed to:
    $(‘a, img, .av-masonry-image-container’).removeAttr(‘title’);

    Do you have an updated method to achieve the same result please?

    Many thanks, as ever.
    Stevo :-)


    Hey Stevo,

    Could you share the full function you are using please? Also please post a link to where we can see the results you are getting.

    Best regards,


    Hi there. A link added in private.

    What you see here is EVERYTHING I am using. Nothing more.
    I search for the first line of code within functions.php, and once found, replace it with the latter line of code (both in bold).
    This was actually provided originally by someone at Enfold.

    That code no longer works (on ANY masonry gallery), and I’m just hoping for a replacement snippet, or somethine else that will work.


    • This reply was modified 3 years, 10 months ago by Steve.

    ps. The function is literally to prevent Tool Tips from displaying when the mouse in in a hover state, as can be seen by mousing over any gallery entry on that page.


    Hi Steve,

    Thanks for that. I can’t see a tooltip when hovering over the images in the link you posted, so maybe it is working? The code you posted is for removing the title attribute, and that is still there as far as I can see. If you need further help then please post admin login details in private as well.

    Best regards,


    Sorry – I meant the title, but I still call everything showing in the little boxes a tooltip!

    Yes – I would love a replacement or additional piece of code that would remove this title in the Masonry Gallaries.

    Many thanks


    Hi Steve,

    Thanks for the clarification. Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,


    Added in Private
    Thank you 😊


    Hi Stevo,

    Thanks for that, but I’m getting blocked by Wordfence:

    Block Reason: Access from your area has been temporarily limited for security reasons.

    Do you think you can lift that ban for the countries listed in private until we have looked at your site? If not then please let us know which countries are not blocked.

    Best regards,


    So sorry Rikard! I always forget this…
    Those you listed have been unblocked.

    Thank you :-)


    Rikard – It has solved itself. Since your minor Enfold update (installed today), the code is now searchable again, and I can replace it once again with the snippet I first showed you, and all is well…

    It must have been omitted there for a while..?

    Anyway, case closed :-)
    Thanks again!



    If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Preventing TOOLTIP TEXTOVER in MASONRY PHOTO GALLERIES’ is closed to new replies.