Hello all, I currently have this code on my WP blog that uses the Twenty Ten theme: <div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"> <?php /* translators: 1: date, 2: time */ printf( __( '%1$s at %2$s', 'twentyten' ), get_comment_date(), get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' ); ?> </div><!-- .comment-meta .commentmetadata --> Code (markup): And it displays a link that reads "Date, Time" and another link that reads "Edit". Can someone please tell me how to remove the first link completely and just keep the "edit" link? It must be really simple but I've tried a bunch of stuff that result into errors. Thanks in advance!
No guarantee, but try this: <div class="comment-meta commentmetadata"> <?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' ); ?> </div><!-- .comment-meta .commentmetadata --> Code (markup):