You can do that using CSS to hide that section of the page — but before making any changes, you should really create a child theme or use a custom-CSS plug-in (or your theme might have that as an option). Otherwise all your changes will be lost when the theme is updated.
Once you have that set up, add this to the CSS:
#comments-template {
display: none;
}
Removed comment code from page.php
If you share your page.php i can edit it for you 🙂
Hello Hasanul
I’m using the Path theme from ThemeHybrid.
It doesn’t seem to have a page.php but instead it has a page-templates folder in which are a number of templates.
My page uses the “default template” and I have no idea which one that is! I’ve looked in a few and can’t see anything easy to remove. :-/
Any thoughts?
Dave
Hi WyPogi
I’m going to read a Child Theme tutorial!
D
(@davidhoward)
13 years, 7 months ago
Hello
Here’s my site:
http://inprinciplemagazine.co.uk/inprinciplemagazine/
I have disabled comments globally and this has worked on individual posts.
However I still have the following text on my Pages
Please comment with your real name using good manners.
Leave a Reply
You must be logged in to post a comment.
I’d like to remove this.
Can anyone tell me how?
Thank you.
Dave H