WordPress.org

Ready to get started?Download WordPress

Forums

Link description in tooltip (14 posts)

  1. Cena
    Member
    Posted 10 years ago #

    I'd like my link descriptions to show up as tooltips, but not be displayed inline on my page. Is there a way to do this?

  2. OperaManiac
    Member
    Posted 10 years ago #

    i believe the description comes in the tool tip!
    you can disable the inline comment from the backend. category properties...

  3. NuclearMoose
    Member
    Posted 10 years ago #

    Cena,
    Are you talking about something like this?

  4. Cena
    Member
    Posted 10 years ago #

    Well, no (although that's a cool effect.)
    Here's what I'm talking about. If I add a link through link manager, and also type a description in the appropriate field, on the index page it's displaying both a tool tip that contains the description, as well as displaying that same information next to the actual link text.
    Ex:
    Links:
    MyLinkToCoolPage (followd in italics with:) MyDescriptionofCoolPage
    That is what I'd like to eliminate, while keeping the tool tip.
    Sushubh, that almost sounds like what I'm talking about, but you'd need to give me a bit more specific info than that, please. :)

  5. NuclearMoose
    Member
    Posted 10 years ago #

    Cena,
    In the admin GUI, go to Link Categories and you can choose whether or not to display the descriptions.

  6. Cena
    Member
    Posted 10 years ago #

    Yes, of course. But if I turn it off, it doesn't display the tooltip, either.

  7. mtanner
    Member
    Posted 10 years ago #

    Doesn't it show, when you hover over the link?

  8. Cena
    Member
    Posted 10 years ago #

    NO GUYS, IT DOESN'T!
    Listen, I'm not a complete idiot. I have a basic understanding of how WP works through the admin interface. So whatever my problem is with this, it's probably not something obvious like, 'turn on link descriptions' or 'type IN a description', etc.
    *getting cranky, so I apologize to those trying to help*

  9. NuclearMoose
    Member
    Posted 10 years ago #

    Cena,
    I'm right there with you, girl!

  10. Cena
    Member
    Posted 10 years ago #

    Yes...your link list is exactly what I *don't* want. I want the tooltip, but not the description underneath. *SIGH*

  11. Cena
    Member
    Posted 10 years ago #

    Actually, Craig, your links are doing exactly what I want. How'd you set it up? Maybe I *am* a complete idiot missing something obvious. ;)

  12. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    Yeah I just double checked this on the sandbox and they're showing up in the tooltips, as they should from the code. Make sure that you are including wp-includes/links.php and not the old links.php or something.

  13. Cena
    Member
    Posted 10 years ago #

    Arg! Okay, got it figured out finally. Thanks to all who helped; Sushubh, your last edit, while not a complete answer, finally pointed me in the right direction.
    To others who would like to display tooltips over their links, without also displaying a description underneath the link, here's what you have to do:
    In the 'manage links' section, you have to have a description entered for the link.
    In the 'link categories' section, you have to have 'desc' set to NO. (Uncheck the 'description' box, as Sushubh says above.)
    Simple as that, but rather counterintuitive.

  14. carsten321
    Member
    Posted 10 years ago #

    Never mind, was stuck on the very same thing. Is there a no-hack way to display a links image _and_ name (but _not_ it's description...)?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.