Easy Tooltip
How can I call a tooltip on inside my front-page.php? (2 posts)

  1. bryankeithdavis
    Posted 3 years ago #

    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?



  2. Treebeard
    Posted 3 years ago #

    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>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Tooltip
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic