AI Assistant
Notifications
Clear all

Add "title" description to the icons

2 Posts
2 Users
0 Reactions
2,261 Views
Posts: 50
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@spontis)
Trusted Member
Joined: 9 years ago
[#4258]

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: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@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