first off, I am sorry if this question has been asked before, don’t seem to get it.
I would like to change the markup of link in WordPress to something like this
<a href=”#” class=”s1 s1–top” data-hint=”tooltip here”>Just Words.</a>
Where the href would have two extra classes, and I would be able to add words to the data hint dynamically (through the text editor). – It’s a tooltip
I have enqueued the stylesheet of the CSS, my main challenge is how to append those extra classes to the a tag, thanks.
I don’t mind if someone can help me with JQuery, and lastly, how do I make the tooltip show up.
Read more here:: How Do I change Markup of a link in WordPress