Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Comments, trackbacks & pings »

[SOLVED] How to remove comment date link only


  #1  
Old Jan 23, 2011, 07:22 AM
sober's Avatar
sober
 
121 posts · Oct 2010
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;}
but that removes the "reply" link also. When i see the code with firebug that there is a class "commentdate", but I don't know how to apply it. Any help will be appreciated.
  #2  
Old Jan 23, 2011, 07:58 AM
lmilesw's Avatar
lmilesw
 
10,174 posts · Jul 2009
Central New York State USA
How about
HTML Code:
.comment-meta {
display: none;
}
OR
HTML Code:
.commentmetadata {
display: none;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Jan 25, 2011, 10:24 AM
sober's Avatar
sober
 
121 posts · Oct 2010
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.
  #4  
Old Feb 14, 2011, 05:50 PM
in10
 
46 posts · Aug 2010
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.
  #5  
Old Feb 14, 2011, 06:27 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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;}
.comment-meta span a {display: inline;}
If you want the date, but not the link, then you need to edit bfa_custom_comments and find this code (line 22-23 in version 3.6.4
HTML Code:
		<a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>">
		<?php printf(__('%1$s at %2$s','atahualpa'), get_comment_date(),  get_comment_time()) ?></a>
and change it to
HTML Code:
		<?php printf(__('%1$s at %2$s','atahualpa'), get_comment_date(),  get_comment_time()) ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Feb 14, 2011, 06:41 PM
in10
 
46 posts · Aug 2010
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?
  #7  
Old Feb 14, 2011, 07:18 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
see ato->Style & configure COMMENTS->Comment Reply link text
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Feb 14, 2011, 08:20 PM
in10
 
46 posts · Aug 2010
Thanks again!

Bookmarks

Tags
remove comment date link

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Remove home page post titles, post information, comment link and category. dazedangels Post-Kicker, -Byline & -Footer 4 Jan 22, 2011 05:41 PM
Comment List | Date & Time cliffbird Comments, trackbacks & pings 5 Sep 9, 2010 06:34 PM
Date is all messed up in comment section using Dutch locale! Taquoriaan Languages & Translations 6 Feb 3, 2010 07:26 AM
Weird phrase showing up instead of comment time / date Taquoriaan Comments, trackbacks & pings 0 May 15, 2009 11:49 PM
comment time/date info shady Comments, trackbacks & pings 1 Feb 27, 2009 05:38 AM


All times are GMT -6. The time now is 07:25 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.