WordPress.org

Support

Support » Plugins and Hacks » Easy Tooltip » [Plugin: Easy Tooltip] How can I call a tooltip on inside my front-page.php?

[Plugin: Easy Tooltip] How can I call a tooltip on inside my front-page.php?

Viewing 1 replies (of 1 total)
  • I know it’s been months since you posted this question, but I just figured out how to add a tooltip to a link in a theme php file, thought it might help:

    <a href="<?php echo get_option('home'); ?>/mypage" class="easy-tooltip"><span class="classic">Text for tooltip here</span></a>

    You could modify that to just add a tooltip to text or an image without a link involved, something like:

    <a class="easy-tooltip" href="#">Click Here<span class="classic">Text for tooltip here</span></a>

    or with an image:

    <a class="easy-tooltip" href="#"><img src="linktoimage.jpg" /><span class="classic">Text for tooltip here</span></a>

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Easy Tooltip] How can I call a tooltip on inside my front-page.php?’ is closed to new replies.
Skip to toolbar