logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$10
How to hide image hover titles on Featured images?

Trying to find a way to hid the little title that pops up when you hover over an image. Specifically the featured image that shows on my category archive pages.

http://184.172.177.95/~chinad/?cat=9

This is a client request please dont explain the importance of keeping these titles intact. I have tried to educate the client but they are not interested! :)

Am i looking at adding a filter to my custom-function.php file or is there some jQuery code I can use?

Thanks for any help you can give me.

Thanks
Steve

This question has been answered.

Steve Watson | 05/23/12 at 7:56am Edit


(4) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    05/23/12
    8:00am
    Ivaylo Draganov says:

    Hi,

    It's a matter of simply deleting the title attribute on the <a> tag:


    <a title="Policy in motion" href="http://184.172.177.95/~chinad/?p=909">


    Just edit the theme file which holds the piece of code generating this markup.

  • avatar
    Last edited:
    05/23/12
    8:01am
    Arnav Joy says:

    please show me the category.php

    • 05/23/12 8:04am

      Arnav Joy says:

      check this
      http://wordpress.org/extend/plugins/img-title-removal/

  • avatar
    Last edited:
    05/23/12
    8:03am
    Manoj Raj says:

    Just edit the theme file to delete the title tag or simply add this

    $(document).ready(function () {

    $(".entry-content a").removeAttr("title");

    });

    • 05/23/12 8:05am

      Manoj Raj says:

      it is not working as i tested it in my browser..

      Try this instead

      jQuery('.entry-content a').removeAttr('title');

  • avatar
    Last edited:
    05/23/12
    8:04am
    Daniel Yoen says:

    Add before </body>

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

    hope this help :)

    • 05/23/12 8:21am

      Steve Watson says:

      Daniel you absolute legend! Worked a treat.

This question has expired.



Steve Watson, Gabriel Reguly, Francisco Javier Carazo Gil, Arnav Joy voted on this question.



Current status of this question: Completed



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.