Notifications
Clear all

Add "title" description to the icons

2 Posts
2 Users
0 Likes
1,023 Views
Posts: 40
Topic starter
(@spontis)
Eminent Member
Joined: 7 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: 5906
Admin
(@astgh)
Illustrious Member
Joined: 6 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