Support » Plugins » Graphic link for leave a comment

  • My client wants a more straight forward link to “leave a comment” besides the default “comment” that is present.

    I want to create my own graphic and assign the php function to it (i’m going to be doing this on index.php)

    any ideas as far as syntax?? thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Here’s what I use:

    <a href="<?php comments_link('', false); ?>" title="Comment on this article"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icon_comment.gif" alt="Comment on this article" /></a>

    I put the file icon_comment.gif in an images folder in the stylesheet folder. You can change this part to suit your needs. Also, you may want to enclose this code in a div and style it to suit your needs.

    Thanks pizza, that worked!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Graphic link for leave a comment’ is closed to new replies.