I want to remove comments only from pages.
I have tried commenting out comments_template on pages.php,
<?php // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) // comments_template(); ?>
which does remove the comment box, but there is still the “Leave a Comment” in the left sidebar.
Is is possible to remove the “Leave a Comment”? Is it also possible to remove the author’s name from posts’ right sidebar?
- The topic ‘Removing "Leave a Comment" and author name from the right sidebar’ is closed to new replies.