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

  • bryankeithdavis


    I love this plugin! It works fantastically on my pages and posts.

    One problem: I am trying to call the tooltip function from inside my theme’s front-page.php file. Unfortunately, using the short code is not working.

    Can you give my instructions on how to call the function manually?


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.