How to remove comment section from page only , not from posts pages?
If you want to display comments and the comment form on posts but not on pages, you need to split up the logic in your template file to call
The other option is to use both a
If you want to do this "from a distance", so where the template file already includes a call to
I like a lot this snippet from Hybrid theme at start of
depending on the theme.
check pages.php code and remove stuff related to comments
be careful not to break the design.
If you can post the code of pages.php here, hope we can help tell u modifications that need to be done
protected by toscho♦ Mar 27 '15 at 22:15
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?