If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I want to add a (hover) tooltip to my social media icons.
I have tried without the external plugins via wordpress, but they don’t work properly…
So for instance, How do I add a tooltip for the facebook icon?
It is more a Alt/title code. So If I hover over the “facebook” icon. The alt text will show “Go to facebook”.
$html .= "<".$this->args['inside']. "class='".$this->args['class']."_".$icon['social_icon']."alt='go to the .$icon['social_icon']"."'>"; But that didn’t do the trick.
I think its easier to add the Alt/title. Do you know where I can add that?
Right idea but instead replace:
$html .= "<a href='".$icon['social_icon_link']."'>".ucfirst($icon['social_icon'])."</a>";
$html .= "<a title='".$icon['social_icon']."' href='".$icon['social_icon_link']."'>".ucfirst($icon['social_icon'])."</a>";
The topic ‘Add Tooltip to social media icon?’ is closed to new replies.