How to insert tooltip shortcode in image ALT attribute? Supported by wordpress tooltips pro plus 20.8.8

Hi, Dear  WordPress Tooltip plugin users, hope this message find you are doing well and having happy day with your family.We got an amazing wordpress tooltip user’s feature question:

Hi! I love this tooltips plugin so much I purchased the PRO version now and am setting it up on a mirror of the site for testing.

Can use [tooltip_by_id tooltip_id='0000'] in the alt field of an image to automatically call the tooltip id every time that image is placed into the website?

I am trying to use tooltip_by_id in the alt field but it doesn’t seem to be working. This would be amazing!

Thanks so much for your time again!

Okay, this is the first time we heard a user need to insert tooltip shortcode in ALT attribute, then we guess the benefit of insert tooltip shortcode in ALT attribute is, there are many image, when tooltip shortcode calling in the ALT field, when mouse hover the image, the content of tooltip shortcode  will displayed in the ALT section, and displayed in the image tooltip. Our wordpress tooltip developer said although it is craze, and it is not good for SEO, in HTML, the ALT filed is not to be used like this, but it is worth to do it for the user, that means we can extend the function of HTML ALT for wordpress tooltip users 🙂

Then we tried many times, after a hard-work and hard-walking,then we got it work like this way, and we replied the user:

Hope this message find you are doing well and have happy weekend with your family

Thanks for the great feature request…

We realized it for you, please allow I tell you more details:

This is the first time we heard this kind of requirement, we decide realize it for you. Then we tried to use find some hooks to filter alt, and then we tried a few APIs in wordpress, but not good, then we tried to use Gutenberg render_block hook to solve this problem, but we found there are many editor in the wordpress now, so we cannot only support Gutenberg, we tried many times and finally we found the solution

Yes, we insert the in the alt — which have a tooltip term “job” and the content “this is a good requirement” then we found it works! the tooltip term “job” displayed in the tooltip popup window, So great, we are happy, but…, the function of is display the tooltip term with underline, when user mouse hover the tooltip term “job”, we will display the tooltip content “this is a good requirement” in “job” tooltip popup window, so this will not works, it is not what you requested, you just hope when mouse hover an image, the tooltip content “this is a good requirement” will displayed in the image tooltip pop-up.

So we decide to write a new shortcode to realize your requirement. You can create a tooltip in tooltip editor, then insert in alt of the image, then when user mouse hover the image, the content of the tooltip will displayed in the image tooltip pop-up window, this works

But, we tested many times, the tooltip content just include text, the image alt tooltip works, but if we insert video in the tooltip content, it cannot works in the image alt, because HTML conflicts, we still need a lot of work to do yet, we are not sure can we help admin display another image or video via the “alt” attr in the image, we will continue try to do this. I believe there are many problem in this function, I guess it is hard to over the limitation of HTML… so we cannot say we finished this work.

We will try to add this function in pro + version, but we will told users these limitations. If what you want is, when mouse hover an image, display images, videos, audio, map…etc in tooltip popup window, we have realized it in many years before, please just check our wordpress tooltip shortcode document

If you check our image tooltip demo , you can see wordpress tooltip plugin support use ALT attribute, REL attribute and title attribute as tooltip content aleady, and you can display video / image…etc in image tooltip popup window too

So I think this new shortcode and new function to insert the new shortcode in image ALT attr is not what you want, I feel sorry for this, we will try to improve it later, we just finished this a few minutes before and it is our 00:05 of the middle-night and we still have not chance to eat something yet , we will try to release a new version in next week:)

Thanks for the great feature request, if you contact us via our support tick — tooltips.org/contact-us/ , we will send you a gift — smart content link tooltips.org/product/smart-content-links/ , or any other plugin you like we made, SSL expiration notification, life quote, live link preview….etc, any one, just tell us, we will send it as a thanks for the great feature request

Please note, based on wordpress support forum, we cannot offer support for pro version in here, so we will not reply in here any more, please just contact us via our ticket system, we are happy to realize feature request or any question about tooltip for you

Thanks, have a blessed weekend with your family

Best Regards,

Support

 

The user replied :

Thank you so much for working on this! I will reach out to you via the contact link provided in the future, and am excited to see if you guys are able to come up with a solution! 🙂

Fine, no problem, we will try to find a solution for the user, we tried our best and we can do things much more better 🙂

Thanks, have blessed day with your family 🙂

Best Regards,

WordPress tooltip support

Tagged with: , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*