Forums

comments link (display an image instead)? (4 posts)

  1. Anonymous
    Unregistered
    Posted 7 years ago #

    Hi!
    I would like to display instead of the "comments (4)" links a graphic or even better just display a small tiny graphic (like a balloon) in front of the comments link. How can I do this? The problem is that the comments link is generated with every new entry, so I can't just edit the index.php to use an <img scr=...> tag in front of the generated tag or can I?
    Thanks,
    Chris

  2. midori
    Member
    Posted 7 years ago #

    Mhh... does that work:
    <?php comments_popup_script('<img src="imagezero.gif" alt="0 comments" />','<img src="imageone.gif" alt="1 comment" />','<img src="imagemore.gif" alt="% comments" />') ?>

  3. Nyago
    Member
    Posted 5 years ago #

    How would you display the graphic in front of the comments link?

  4. Nyago
    Member
    Posted 5 years ago #

    Does anyone know the answer to my question?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.