Title attribute/hover text/alt text (4 posts)

  1. chris7085
    Posted 4 years ago #

    not sure which i'm trying to do.

    I need to be able to hover over words that are coded in and have a pop hover text appear with custom text. Much like how title pages, links, and how "hover text' works, but for text that is coded into my theme.

    <p><?php _e(REGULAR_PRICE_TEXT) ;?>: <s> <?php echo $General->get_amount_format($Product->get_product_price_only($pid)); ?> </s></p>

    That's a clip from my theme. I'd like the REGULAR_PRICE_TEXT to have the hover text ability. I've seen different codes to make it happen but I have no idea where to put them in. Any suggestions appreciated.

    Thanks for the help!

  2. I think that what you could do is use a "tooltip" plugin.

    Maybe this one would do the trick - http://wordpress.org/extend/plugins/tippy/

    There's a few others here - http://wordpress.org/extend/plugins/tags/tooltip

  3. chris7085
    Posted 4 years ago #

    Thanks for the reply but tooltip won't work if it's coded in. Yes for pages, posts, etc it works great. I'm need this pop up to work on words that are coded in.

  4. chris7085
    Posted 4 years ago #

    and if they are able to be used, i have no idea how i would code that in or where i would put that. suggestions?


Topic Closed

This topic has been closed to new replies.

About this Topic