WordPress.org

Ready to get started?Download WordPress

Forums

Create tooltip for Comments link (1 post)

  1. ellenfinkl
    Member
    Posted 8 years ago #

    I'd like to add a tooltip like the one that's over the entry title:
    <h2>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h2>

    I don't think that the Comments link is clear enough for people to know to click it. I'd like the tooltip to say: "Click here to read or write comments."

    But the code is different, so I'm not sure where to put the title tag attribute:

    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags