Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

date / time link in comments


  #1  
Old Jun 27, 2009, 12:03 PM
janey73
 
15 posts · Jun 2009
date / time link in comments

I want to disable the link in the date / time stamp for comments, but can't find where to do that. I still want the date / time stamp to show, just not be a link. Suggestions, please.
  #2  
Old Jun 27, 2009, 03:08 PM
fromtheranks
 
149 posts · Apr 2009
Dev Env't: XP Pro SP3, IIS 5.1, MySQL 5.1, PHP 5.2.x, WP 2.7.1, Atahualpa 3.3.3, IE 7, FF 3.0.x
Janey73,

Did you know, and I just noticed this the other day on a site with a lot of comments, that clicking on the date scrolls the page of comments? The comment moves to the top of the page. Handy feature requiring less use of the mouse's scroll wheel.

Hope this helps.
  #3  
Old Jun 29, 2009, 07:16 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
You would have to replace
PHP Code:
        <a href="<?php echo htmlspecialcharsget_comment_link$comment->comment_ID ) ) ?>">
        <?php printf(__('%1$s at %2$s','atahualpa'), get_comment_date(__('F jS, Y','atahualpa')),  get_comment_time()) ?></a>
with
PHP Code:
<?php printf(__('%1$s at %2$s','atahualpa'), get_comment_date(__('F jS, Y','atahualpa')),  get_comment_time()) ?>
in functions/bfa_custom_comments.php

but as fromtheranks mentioned, the link can be useful, just so you know
  #4  
Old Mar 8, 2010, 12:27 AM
Zona
 
30 posts · Jan 2010
Thanks for an amazing theme!!

What if I would like to change the color of the date/time line in each posted comment. Where would I make that change? (I've been able to change author and posted comments lines in CSS Inserts using this BFA Post: http://forum.bytesforall.com/showthr...style+comments)

Also:
How would I put the AUTHOR(of comment) + DATE/TIME on the same line so it reads something like:

Posted by Zona on March 7th, 2010 at 8:30pm


And last question:
How would I move this newly created line below the actual comment content so it reads something like this:

Incredible post. I can't wait for the next one!
Posted by Zona on March 7th, 2010 at 8:30pm

Last edited by Zona; Mar 8, 2010 at 12:40 AM.
  #5  
Old Mar 8, 2010, 05:45 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you look at the generated source of a page with comments, you will see something like this
HTML Code:
	<a name="comments"></a><!-- named anchor for skip links -->
	<h3 id="comments">3 comments to Post with thumbnail and image</h3>

	<div class="navigation-comments-above"><a class='prev page-numbers' href='/wordpress/?p=27&cpage=1#comments'>&laquo; Older Comments</a>
<a class='page-numbers' href='/wordpress/?p=27&cpage=1#comments'>1</a>
<span class='page-numbers current'>2</span></div>
	<!-- Comment List -->
	<ul class="commentlist">
		
			<li class="comment byuser comment-author-admin bypostauthor even thread-even depth-1 clearfix" id="comment-12">
		<div id="div-comment-12" class="clearfix comment-container bypostauthor">
		<div class="comment-author vcard">
				<span class="authorname">admin</span>
		</div>
				<div class="comment-meta commentmetadata">
		<a href="http://yourdomain.com/wordpress/?p=27&amp;cpage=2#comment-12">
		February 23rd, 2010 at 1:45 pm</a>
        <span class="comment-reply-link"><a rel='nofollow' class='comment-reply-link' href='/wordpress/?p=27&cpage=2&replytocom=12#respond' onclick='return addComment.moveForm("comment-12", "12", "respond", "27")'> &middot; Reply</a></span>				</div>
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi varius vestibulum rutrum. Quisque in ligula lacus, sed scelerisque nisl. Proin congue sodales leo ac eleifend. Curabitur mollis accumsan varius. Donec a velit risus. Integer egestas, sapien in pellentesque sagittis, odio leo posuere turpis, a ultrices quam est sit amet lacus. Nunc at lectus elit, vitae egestas augue. Maecenas auctor tempus leo, vitae egestas magna ornare sit amet. Morbi sollicitudin convallis scelerisque.</p>
		</div>
if you look, you will see the date is part of an anchor '<a...> that is part of a <div..> with a class comment-meta. With this information, you can construct a CSS Selector and the rules you want to apply.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Mar 18, 2010 at 04:00 AM.
  #6  
Old Mar 8, 2010, 10:49 PM
Zona
 
30 posts · Jan 2010
Apologies -- I'm a little slow on this one... so to change the date color and rearrange the order of the content... I need to write code to put in CSS Inserts and you suggest creating that code from the example of what I see when I view the source code on a page running comments -- is that correct?

Thank you.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
date of comments Francesco788 Atahualpa 3 Wordpress theme 4 Jun 4, 2009 09:15 AM
Weird phrase showing up instead of comment time / date Taquoriaan Comments, trackbacks & pings 0 May 15, 2009 10:49 PM
Changed board time to US Central Time and AM/PM Flynn Forum How-To 4 Apr 1, 2009 09:09 AM
External Link in Byline Date cdevenish Post-Kicker, -Byline & -Footer 0 Mar 27, 2009 01:50 PM
comment time/date info shady Comments, trackbacks & pings 1 Feb 27, 2009 04:38 AM


All times are GMT -6. The time now is 01:50 AM.


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