Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed. We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Add "title" description to the icons

2 Posts
2 Users
0 Reactions
1,697 Views
Posts: 50
Topic starter
(@spontis)
Trusted Member
Joined: 8 years ago

Hello,

is it possible to add a "title" element to the icons of the media uploader? (and the mentioning plugin as well) The description should be set in the Backend-Options of the Plugin. I think this is useful for some users to understand, what the buttons are used for. I've tried a quick editing to provide you a Screenshot:

http://prntscr.com/ohsnr8

 

1 Reply
Astghik
Posts: 6444
Admin
(@astgh)
Illustrious Member
Joined: 8 years ago

Hi @spontis,

Please try the following js codes: 

/* add a title for upload image button */

jQuery('.wmu-icon-image').prop('title', 'your title');

/* add a title for upload video button */

jQuery('.wmu-icon-video').prop('title', 'your title');

/* add a title for upload file button */

jQuery('.wmu-icon-file').prop('title', 'your title');

/* add a title for mentioning button */

jQuery('.wpdc_at').prop('title', 'your title');

The codes should be added in active theme's js files. 

Reply
Share:
Scroll to top