Hi,
How do I remove the Author and Post Reply sections at the for of the post page?
My site has no need for them.
TIA
Ritchie
Hi,
How do I remove the Author and Post Reply sections at the for of the post page?
My site has no need for them.
TIA
Ritchie
Hey,
in single.php delete following code:
<div class='entry' id="author-box">
<div class="gravatar">
<?php
$author_email = get_the_author_email();
echo get_avatar( $author_email, $size = '60');
the_author_posts_link();
?>
</div>
<div class="author-info">
<h3><?php _e('About the author','newscast'); ?></h3>
<?php
$description = get_the_author_description();
if($description != '')
{
echo $description;
}
else
{
_e('The author didnt add any Information to his profile yet','newscast');
}
?>
</div>
</div>
and:
<div class='entry commententry'>
<?php comments_template(); ?>
</div>Many thanks.
That has successfully removed the Author box.
However, the 'Leave a Reply' box is still there. It doesn't appear to be in single.php
Can you advise?
TIA
Ritch
Are you certain you've removed
<div class='entry commententry'>
<?php comments_template(); ?>
</div>
from the single.php? Have you cleared your cache?
It is generated in your comments.php at this line:
<?php comment_form_title( '<h3>'.__('Leave a Reply','newscast').'</h3>', '<h3>'.__('Leave a Reply to %s','newscast').'</h3>'); ?>
^You can try and remove that if the previous doesn't work..
OOOPS!!! Sorry about that.
It has indeed been removed.
Many thanks Dude and Chris for your time and advice.
Cheers,
Ritch
Glad that we could help you :)
You must log in to post.