In the Genesis parent theme, there’s a comment.php file with the following
<a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>"><?php printf( __( '%1$s at %2$s', 'genesis' ), get_comment_date(), get_comment_time() ); ?></a>
I’d like to actually remove that. I’m using the Metro child theme that does not already contain a comments.php file. What do I add in the Child theme to remove the link from displaying? I’d like to avoid removing that link from the main Genesis theme.
Hi. Just the date and time hyperlink. I’d like to leave the actual date and time in.
Hi. It’s http://lajollamom.com. The link has been temporarily removed but during the next Genesis update, it will likely get reinserted. By removing the link I’ve been able to drastically speed up load time on pages with a lot of comments. Thanks!
Why don’t you put that code in your child theme and remove the code from it which creates the hyperlink. That way your modifications won’t be lost when you update Genesis.
That’s exactly what I’m trying to do.
Where in the child theme do I put that code? The child theme is metro. There is no comments.php.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.