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?
How do I hide the images file name?
13 posts from 3 voices-
Posted 3 months ago #
-
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,
IsmaelPosted 3 months ago # -
Hi Ismael. It doesn't work, i can't open the file wp-content/themes/habitat/js/custom.js.
Posted 3 months ago # -
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,
IsmaelPosted 3 months ago # -
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? :)
Posted 3 months ago # -
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
Posted 3 months ago # -
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?
Posted 3 months ago # -
A way that is easy. I'm not so good at this.
Posted 3 months ago # -
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
Posted 3 months ago # -
That would be great. Thank you so much, I have sent an email with account information to you now.
Posted 3 months ago # -
Script added into the footer. Should work now.
Posted 3 months ago # -
It works now! Thank you very much, it was really very nice of you. THANK YOU :)
Posted 3 months ago # -
Hey,
Glad Devin helped.
Regards,
IsmaelPosted 3 months ago #
Topic Closed
This topic has been closed to new replies.














