[SOLVED] How to remove comment date link only
I want to remove the comment date link only and want to keep the reply link intact. I have used the
Code:
div.comment-meta a:link, div.comment-meta a:visited, div.comment-meta a:active, div.comment-meta a:hover {display: none;} |
How about
HTML Code:
.comment-meta { HTML Code:
.commentmetadata { |
Thanks for the code. I am sorry for the late reply. I was a bit busy and hence haven't tested this code yet. I will post what turns out in the coming days. Thanks again for the code.
|
I was actually just about to ask this same question until I saw this thread.
lmilesw, I tried both of your recommendations and while they do remove the date, they also remove the reply/edit links too. I could live without the edit link, but I need the reply link to stay. Any other ideas? Thanks in advance. |
if you don't minl getting rid of the date you can add this to the CSS Inserts
HTML Code:
.comment-meta a {display:none;} HTML Code:
<a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"> HTML Code:
<?php printf(__('%1$s at %2$s','atahualpa'), get_comment_date(), get_comment_time()) ?> |
Bingo! The first option worked perfectly. Thanks!
Quick follow up question, how do I remove that little dot that's in front of the "Reply" text link under each commenter's name? |
see ato->Style & configure COMMENTS->Comment Reply link text
|
Thanks again!
|
All times are GMT -6. The time now is 03:32 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.