Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #19561

    When I hold my mouse over an image on my blog then I see the images file name. I want to hide it. How do I do?

    #104148

    Hi sarastenber,

    Try to open wp-content/themes/habitat/js/custom.js and find this code block:

    jQuery(document).ready(function(){

    //
    // START EDITING HERE
    //

    below it add this code:

    jQuery("img").attr({
    title: ""
    });

    Hope this helps. :)

    Regards,

    Ismael

    #104149

    Hi Ismael. It doesn’t work, i can’t open the file wp-content/themes/habitat/js/custom.js.

    #104150

    Hi Hi sarastenber,

    I checked your site and it seems that the code isn’t there. You can access the said directory and file via ftp.

    Regards,

    Ismael

    #104151

    Okej. If I understand this right I should open wp-content/themes/habitat/js/custom.js with via ftp and add this code:

    jQuery(“img”).attr({

    title: “”

    });

    Is that right? :)

    #104152

    Hi sarastenberg,

    That is correct. I’m guessing the way the theme was installed it didn’t give the wordpress installation permission to edit the files from within wordpress. Just make sure you add that bit in after the:

    jQuery(document).ready(function(){

    Regards,

    Devin

    #104153

    Im sorry, I dont have a program so I can open the file wp-content/themes/habitat/js/custom.js and add the code. Is there another way to hide the images file name?

    #104154

    A way that is easy. I’m not so good at this.

    #104155

    If you can create a wordpress admin account for me I’ll log in and see if I can add it in for you.

    You can send the information to my email at DevinVinson (at) gmail.com. Make sure to include a link to this topic so that my spam filter doesn’t grab it :)

    Regards,

    Devin

    #104156

    That would be great. Thank you so much, I have sent an email with account information to you now.

    #104157

    Script added into the footer. Should work now.

    #104158

    It works now! Thank you very much, it was really very nice of you. THANK YOU :)

    #104159

    Hey,

    Glad Devin helped.

    Regards,

    Ismael

Viewing 13 posts - 1 through 13 (of 13 total)

The topic ‘How do I hide the images file name?’ is closed to new replies.