• I’m using the following comment tag for my posts. How can I apply styles to these links?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • That depends upon your theme.

    Thread Starter mtphoto

    (@mtphoto)

    In general, how can I style the links that this tag is generating?

    Otherwise, how can I insert CSS classes into the PHP comments tag, since there are no tags?

    add your own html tags around the code; example from TwentyTen:

    <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to style comments links?’ is closed to new replies.